Support » Plugin: Menu Item Visibility Control » using more than one conditional

  • I’ve got a menu item that I’d like only visible on two page templates. Can you use more than one conditional statement in the visibility box?

    I just tried to use two conditional statements and separated them with a comma, but it didn’t work. Here’s what I put in the box:

    `is_page( ‘page-strength’ ), is_page( ‘page-strength-inner’ )

    Thanks!

    https://wordpress.org/plugins/menu-items-visibility-control/

Viewing 1 replies (of 1 total)
  • Could try this …

    `is_page( ‘page-strength’ ) || is_page( ‘page-strength-inner’ )

    i.e. the ‘OR’ operator.

Viewing 1 replies (of 1 total)
  • The topic ‘using more than one conditional’ is closed to new replies.