WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] Basic Question about Conditional Tags (3 posts)

  1. aldereteka
    Member
    Posted 1 year ago #

    Hi. I think this is a simple question anyone who chimes in.

    I’m trying to figure out a way of using, I guess, tags to customize my widgets on each page using Widget Logic. It seems easy and I’m sure it is, but when my users click on a field in Buddypress’ extended profile field, “English Teacher,” for example, I get this: http://www.mysite.com/member/?s=English+Teacher. Is “English+Teacher” the tag? Is "?s=Englist+Teacher"? Is that a tag at all? I can’t seem to make something like is_page(‘English Teacher’) work in any combination and I can't find the answer in the WP codex or on any forums.

    Sorry for the bonehead question, and thanks to @alanft for the amazing plugin. It’s adding so much more value to my website.

    http://wordpress.org/extend/plugins/widget-logic/

  2. aldereteka
    Member
    Posted 1 year ago #

    Also, ?s=English+Teacher looks like the result of search criteria.

  3. aldereteka
    Member
    Posted 1 year ago #

    is_search ('?s=English+Teacher')

    Got it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic