WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
2 False Conditional Tags Not Working (1 post)

  1. albertlagrange
    Member
    Posted 3 years ago #

    Hi

    I hope someone is able to help me.

    I would like one of my widgets Not to display when the user is logged in or when a visitor (logged in or not) visits certain pages.

    I tried these tags but with no luck:
    (!is_user_logged_in() || !is_page( array( 818, 854, 859, 1724, 1727, 1729 ) ) )

    also tried:
    global $post; return (!is_user_logged_in() || !is_page( array( 818, 854, 859, 1724, 1727, 1729 ) ));

    I appreciate the help.

    Kind regards,
    Albert

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by albertlagrange
  • This topic is not resolved
  • WordPress version: 3.1.1