Posted on

Chamber Dashboard Business Directory

The Chamber Dashboard Business Directory plugin has a business directory search that’s not compatible with Relevanssi. To disable Relevanssi in those searches, add this to your theme functions.php:

add_filter( 'relevanssi_prevent_default_request', 'rlv_allow_chamber_search', 10, 2 );
function rlv_allow_chamber_search( $prevent, $query ) {
    if ( isset( $_GET['searchtext'] ) ) {
        $prevent = false;
    return $prevent;

This will make the business directory search work again. However, I would recommend just using Relevanssi to search the business directory as well – that’s possible, and you don’t need to use the Business Directory default search.

Leave a Reply

Are you a Relevanssi Premium customer looking for support? Please use the Premium support form.

Your email address will not be published. Required fields are marked *