WordPress.org

Forums

Widget Logic
[resolved] multiple exclusions (1 post)

  1. mikeill
    Member
    Posted 1 year ago #

    I'm trying to us the following Widget Logic code on all pages EXCEPT certain ones:

    !is_page('sign-up') || !is_page('schedule')

    But it only excludes the first one.

    Using twenty thirteen theme with latest WP version.

    http://www.uruyoga.com

    Thanks much.

    Wait - figured it out - has to be:

    !is_page('sign-up') && !is_page('schedule')

    because we are saying display if it is not 'sign-up' AND it is not 'schedule'.

    Thanks for the great plugin!

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic