Forums Forums Search & Filter Pro is_home is affecting the search results page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #53147

    Hi there,

    I have need to filter out the blog page so that things aren’t randomized on this page:

    http://gethelpisrael.com/mental-health-blog/

    The problem is the filter is also affecting the search results page:

    http://gethelpisrael.com/?sfid=511&_sfm_region=Jerusalem%20and%20surrounding%20areas

    What can I do so the !is_home doesn’t leave out the search results?

    Thanks!

    Trevor
    #53159

    Sorry, I do not understand. Are you able to explain what you are doing in more detail?

    Anonymous
    #53241

    Hi Tevor,

    I need to randomize the results of all the pages, except the blog homepage (not the front page). It’s working for all my archive pages, but not my search results page. The problem is that I’m filtering out if (!is_home()). The blog page is filtered out by doing this, but so is the search results page. If I take out the !is_home(), the search results work correctly.

    Thanks!
    Rena

    Trevor
    #53277

    I still do not understand 🙁

    Maybe we can talk on Skype?

    Anonymous
    #53296
    This reply has been marked as private.
    Trevor
    #53298

    Hi

    I think you need to use the is_filtered() function to see if a page has filtered results, and if it has, then do the randomizing.

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