How to Add Conditional Logic to Menus in WordPress

visit site i loved this

Do you want to show different navigation menu items for different pages in WordPress? Possilby showing a different menu for logged in or not users. In this video, we will show you how to add conditional login to menus in WordPress.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:

Check us out on Facebook:

Follow us on Twitter:

Join our circle on Google+:

Checkout our website for more WordPress Tutorials

Summary of this Tutorial:

Start by installing and activating the if menu plugin.

Then go to Appearance, Menus to edit your menus.

For the pages in your menu you’ll see the enable conditional logic and to show or hide them you would want to set the options.

When you are finished, save your menus and your menus will show based on your specified conditions.

Related Links:

If Menu

If Menu – Visibility control for Menu Items


5 thoughts on “How to Add Conditional Logic to Menus in WordPress”

  1. Great tutorial. Though, any idea how you'd go about creating a more custom php based condition? Something like, if the value of the variable is 1, the menu should link to page A, if the value of the variable is 0, it should link to a different page?

Leave a Reply

Your email address will not be published. Required fields are marked *