Support » Plugin: Widget Logic » multiple exclusions

  • Resolved mikeill

    (@mikeill)


    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.

    URU | Yoga & Beyond

    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/

  • The topic ‘multiple exclusions’ is closed to new replies.