Navigation and Footer Links

This topic contains 9 replies, has 3 voices, and was last updated by  Paolo 8 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #207359

    Ryan Davis
    Buyer
    Post count: 9

    Hi Guys,

    After performing a search my main navigation and footer links get wiped out?

    Can you please have a look?

    https://www.jollypooch.com/?geodir_search=1&stype=gd_place&s=bubbles&snear=&sgeo_lat=&sgeo_lon=

    Thanks!

    #207458

    Kor
    Moderator
    Post count: 16516

    Hi Ryan,

    Do you think you can share temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    #207764

    Ryan Davis
    Buyer
    Post count: 9
    This reply has been marked as private.
    #207767

    Kor
    Moderator
    Post count: 16516

    Hi Ryan,

    Thanks for sharing the credentials. Looks like the issue comes from the Avada theme. Following the steps in this thread should fix you right up. https://wpgeodirectory.com/support/topic/search-page-removes-main-menu/#post-195100 . Let us know how it goes.

    Thanks!

    #207880

    Ryan Davis
    Buyer
    Post count: 9

    Hi Kor,

    Do i need to purchase a membership?

    #207882

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    you don’t need a suscription to fix that. I report here the solution in case you cannot access that forum:

    You need to correct the function gd_avada_search_filter that you find starting from line 241 of geodirectory/geodirectory-functions/compatibility/avada.php with the following code:

    
    
    
    function gd_avada_search_filter( $query ) {
    if ( geodir_is_page('search') && is_search() && $query->is_search ) {
    $query->set('post_type', 'any');
    }
    return $query;
    }

    Let us know how you went.

    Thanks

    #207889

    Ryan Davis
    Buyer
    Post count: 9

    Great! I’ll keep you posted.

    Thanks Paolo!

    #207890

    Paolo
    Site Admin
    Post count: 31211

    You are welcome 🙂

    #207895

    Ryan Davis
    Buyer
    Post count: 9

    It worked! Thank you!!

    #207897

    Paolo
    Site Admin
    Post count: 31211

    Glad it’s solved… 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount