Forums › Forums › Search & Filter Pro › is_home is affecting the search results page
Tagged: is_home, search results
- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by
Trevor.
-
Anonymous(Private) August 2, 2016 at 4:15 pm #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!
Anonymous(Private) August 3, 2016 at 12:22 pm #53241Hi 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 -
AuthorPosts