And if we saw using WordPress conditional tags , now let's apply this concept also to the menus , but surprisingly so much easier ... waaaaay more .
I say simple because the plugin called Menu If we have it in the easiest way possible as to install a new suit adds menu items to determine under what condition we want it to appear.
The options offered, after clicking on the box labeled " Enable conditional logic "of each menu item are as follows:
Show or hide if ...
- The user is connected
- It manager
- Is Subscriber
- He collaborates
- He is the author
- He is editor
- It's on the cover of the Web
- Display is input in the simple
- It is a page
From there you decide to use him, and the possibilities are enormous . You can display links to special pages for registered users who otherwise would not be visible or hidden links will cover only when in an article yourself.