Widget Logic -Search Results
-
I am trying to show widget in the sidebar on the search results page based on search results. For example, if someone searches for laptops, I want to show a widget, if someone searches for phones, I want to show a different widget.
I tried is_search() but this displays with any search. I even tried has_tag(‘laptops’)
Is this possible?
- The topic ‘Widget Logic -Search Results’ is closed to new replies.