Support » Plugin: Widget Logic » [Plugin: Widget Logic] Combination of separate conditions not working

  • Resolved Bill

    (@bizpower)


    I have 3 separate conditions.
    I only want it to show on my forum pages, which are /questions and /questions/*. I couldnt get the * to work for any and all pages after /questions, so I just did this:
    I made it so it only showed when a user was logged in.
    That worked great!

    Until…I added false conditions to keep it off certain pages.
    I have this in the box
    is_user_logged_in()
    !is_page(‘contact’)
    !is_page(‘subscriptions’)

    It works until I add the !is_page conditions. Then, those work and the is_user_logged_in() breaks and all I see is the default page nav in the side bar of my forum, instead of the forum categories, which is what I need on every page from /questions on out.
    Any help for me out there?

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

Viewing 1 replies (of 1 total)
  • I figured it out.
    I have to do it like this

    is_user_logged_in() &&
    !is_page(‘contact’) &&
    !is_page(‘welcome’)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Widget Logic] Combination of separate conditions not working’ is closed to new replies.