SearchWP

This Documentation is for SearchWP Version 3

Plugin Incompatibilities

SearchWP aims to be a good WordPress citizen and work with any WordPress plugin, but there are known issues with the following plugins that will prevent indexing and or displaying results from the following plugins:

Simple Custom Post Order

The filters in this plugin prevent searches from showing up on results pages, but you can resolve the issue by adding the following to your theme’s functions.phphttps://gist.github.com/jchristopher/ad4f85720c6b19b76dcf

iThemes LoopBuddy

LoopBuddy and SearchWP don’t quite get along on search results pages due to the way both plugins have been architected. This is resolved by adding the following filter to your active theme’s functions.php after the opening <?php tag:

add_filter( 'searchwp_outside_main_query', '__return_true' );

This will force SearchWP to execute it’s search during the subsequent query executed by LoopBuddy.

Jetpack Infinite Scroll

Jetpack Infinite Scroll fires it’s own WP_Query calls, so you’ll need to utilize one of it’s hooks to have SearchWP continue overriding infinite scrolling search results: https://gist.github.com/jchristopher/9331899

Download Monitor

Out of the box Download Monitor looks to exclude it’s posts from search. You can override this by adding the following to your theme’s functions.php: https://gist.github.com/BrElio/218a4e549d9313d884094024606090fd

Once you’ve made that change you will see Downloads on the SearchWP settings screen, you will need to enable it and I would also suggest adding an Any Custom Field with a weight to make sure you’re including all of the metadata (if you want).

JSON API (NOT the official WordPress API)

JSON API uses it’s own internal search method, and does not have any hooks to change that functionality. Therefore SearchWP is incompatible with JSON API at this time.

Intuitive Custom Post Type Order

The Intuitive Custom Post Order plugin prevents SearchWP from returning it’s search results. To fix the issue add the following to your functions.php: https://gist.github.com/jchristopher/248f854c88e44ffe7ef3

Advance WP Query Search Filter

Advance WP Query Search Filter needs the following filter in place: https://gist.github.com/jchristopher/e37bef03c5c59248edf3

Transposh

Transposh (http://wordpress.org/plugins/transposh-translation-filter-for-wordpress/) is a multilingual plugin that is not compatible with SearchWP as it stores string translations in it’s own database table. SearchWP relies heavily on post IDs and since Transposh doesn’t store that data (it doesn’t need to based on the way it works) so the two are incompatible.

WP-Filebase

WP Filebase uses custom tables to store it’s data and does not use the WordPress Media library to store the files, so no content created by WP Filebase will be included in SearchWP settings or search results.

WordPress Download Manager

WordPress Download Manager uses custom tables to store it’s data and does not use the WordPress Media library to store the files, so no content created by WordPress Download Manager will be included in SearchWP settings or search results.

NextGen

The way NextGEN stores it’s data is incompatible with the way SearchWP indexes data.

Simple:Press

Simple:Press (SimplePress, Simple Press) is a plugin that adds forum functionality to your WordPress site. It stores it’s content in custom database tables so SearchWP will not index Simple:Press content nor will it return Simple:Press content in search results.

Ultimate Product Catalog

Ultimate Product Catalog uses custom tables to store data, so no content created by Ultimate Product Catalog will be included in SearchWP search results.

[wpforms id="3080"]