WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] multiple exclusions (1 post)

  1. mikeill
    Member
    Posted 10 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic