AyeCode / geodirectory

GeoDirectory is the leading Directory Plugin for WordPress. Compatible with Gutenberg and the most popular page builders such as Elementor, Oxygen, Beaver Builder and Divi. GeoDirectory is the only solution for WordPress that can scale to millions of listings and high traffic.
https://wpgeodirectory.com/
Other
40 stars 21 forks source link

Astra theme conflict with search page #2517

Closed 1naveengiri closed 2 months ago

1naveengiri commented 7 months ago

https://secure.helpscout.net/conversation/2480416003/50846?folderId=3812058 https://secure.helpscout.net/conversation/2200211202/42078

Screenshot 2024-01-18 at 5 09 00 PM
1naveengiri commented 7 months ago

Possible fix

function astra_geodir_issue_custom( $value ) {
    if ( geodir_is_page( 'search' )) {
         return false;
    }
    return $value;
}

add_filter( 'astra_single_layout_one_banner_visibility', 'astra_geodir_issue_custom', 50 );
1naveengiri commented 7 months ago

https://secure.helpscout.net/conversation/2482225939/50926?folderId=3812058