Search Page empty with GeneratePress

/**
* GeneratePress search page conflict
*/
add_filter( 'geodir_bypass_setup_archive_page_content', 'gdsupport_generate_search_page', 99, 1 );
functiongdsupport_generate_search_page( $bypass ) {
    if ( defined( 'GENERATE_VERSION' ) && geodir_is_page( 'search' )  ) {
        $bypass=1;
    }
    return $bypass;

}

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us