Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Qurl

    (@qurl)

    No, the rule is based on the standard WordPress is_search() function. Have you tried OLD method?

    Thread Starter jhoffmcd

    (@jhoffmcd)

    Old method being just use the condition in the code on the search.php template page?

    Plugin Contributor Qurl

    (@qurl)

    No, it uses another route (more or less a hack) to find out where it is (read: which page is requested). The default method uses a WordPress filter.

    Some themes ‘confuse’ DW when in filter method. OLD method prevents that.

    Thread Starter jhoffmcd

    (@jhoffmcd)

    Qurl, once I started checking what was being evaluated for true on my search.php page I realized I’m sending multiples search parameters in my from my search bar:

    ?s=image&post_type=page&cat=149

    While the page is a search result page, using the cat parameter also evaluates as true for a category page too, so I just included that category and its children in the logic of for that widget, and it works!

    Good thing to know. Good plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Page Condition Does Nothing’ is closed to new replies.