WEBFI-WordPress-How to Add Conditional Logic to Menus in WordPress
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:
http://www.wpbeginner.com/plugins/how-to-add-conditional-logic-to-menus-in-wordpress/
Check us out on Facebook:
https://www.facebook.com/wpbeginner
Follow us on Twitter:
http://twitter.com/wpbeginner
Join our circle on Google+:
https://plus.google.com/+wpbeginner/
Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/
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
Thank you, it it does improve my skills.
when u r a beginner, every little matters, great short vids
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?
Love it, quick, to the point, works… anything on the pages front? If page? that would be a great complimentary plugin
great….
OK, I can create "Log in" and "Register" pages with module codes.
But how to set up "Log out" in the menu???
I cannot create "Log out" page, because I don't know what to put on it.
thank you, very concise