• Resolved freshifreshy

    (@freshifreshy)


    When I run a search on my site, the “recent posts” and other new WP_Query loops all display only posts related to my search terms.

    Essentially, the search term seems to override any other queries that I have going on.

    Any thoughts on what might be happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can only guess might need to add wp_reset_query(); after your query loop.

    If that doesn’t work for you, please paste all the code from the theme template file that exhibits the problem into a pastebin such as wordpress.pastebin.ca, and report the link back here. Maybe someone can spot your problem. Thanks.

    Thread Starter freshifreshy

    (@freshifreshy)

    Can only guess might need to add wp_reset_query(); after your query loop.

    That didn’t work, but I realized that I had the Search Unleashed plugin activated. I deactivated it and now the search is working.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Page with Multiple Loops’ is closed to new replies.