Support » Plugin: Widget Logic » Conditional Statement for Multiple Page Templates?

  • Resolved Mike

    (@maddogmike)


    In Widget-Logic, I can use a conditional statement for a particular widget to display if it is not a given page template. Example:
    !is_page_template('pagetemplate-this.php')

    However, it doesn’t seem to work if I specify multiple templates. Example:
    !is_page_template( array('pagetemplate-this.php','pagetemplate-that.php','pagetemplate-other.php'))

    What am I doing wrong?

    thanks,
    Mike

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conditional Statement for Multiple Page Templates?’ is closed to new replies.