Forums

Wierd Search Everything Issue (2 posts)

  1. td2wp
    Member
    Posted 3 years ago #

    Please have a look...

    When you search for something the just added menu changes.

    Do a search for test and watch the menu change... Not sure why this is happening.

    http://www.detroitmetrorestaurantguide.com/

    I am really looking for a search where I could have it on the main page with Cuisine, Feature, Zipcode filters. If you see anything please let me know.

  2. benz001
    Member
    Posted 3 years ago #

    In the search results template page try adding
    <?php $wp_query->init(); ?> immediately after the end of the search loop. Search Everything overides the global $wp_query object and so may impact other loops/code on the page after its called - I've only just discovered this myself so I've not tested this solution in many scenarios yet, but so far its working for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags