Widget Logic
[resolved] Combination of separate conditions not working (2 posts)

  1. bizpower
    Posted 2 years ago #

    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

    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?


  2. bizpower
    Posted 2 years ago #

    I figured it out.
    I have to do it like this

    is_user_logged_in() &&
    !is_page('contact') &&

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic