Title: using more than one conditional
Last modified: August 24, 2016

---

# using more than one conditional

 *  [bibliofille](https://wordpress.org/support/users/bibliofille/)
 * (@bibliofille)
 * [11 years ago](https://wordpress.org/support/topic/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/](https://wordpress.org/plugins/menu-items-visibility-control/)

Viewing 1 replies (of 1 total)

 *  [Ukwebguy](https://wordpress.org/support/users/ukwebguy/)
 * (@ukwebguy)
 * [11 years ago](https://wordpress.org/support/topic/using-more-than-one-conditional/#post-6176930)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/menu-items-visibility-control.svg)
 * [Menu Item Visibility Control](https://wordpress.org/plugins/menu-items-visibility-control/)
 * [Support Threads](https://wordpress.org/support/plugin/menu-items-visibility-control/)
 * [Active Topics](https://wordpress.org/support/plugin/menu-items-visibility-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menu-items-visibility-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menu-items-visibility-control/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ukwebguy](https://wordpress.org/support/users/ukwebguy/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/using-more-than-one-conditional/#post-6176930)
 * Status: not resolved