Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #348648

    Hi, Kries.
    Thank you for the nice theme.

    I want to customize menus for those logged in users. I did some trick to add function.php in child theme. It works great.
    However, it would be great if I can chose hide/show option for those who logged in users.

    Also, the trick doesn’t work on dropdown menus.

    Is there any way to do show/hide certain menus for public and for logged in users?

    Thanks.

    #348868

    Hi thomas!

    Please add following code to Quick CSS

    .logged_in #menu-item-59 { display: block!important; }
    #menu-item-59 { display: none; }

    You can right click on Chrome or Firefox to inspect elements to find menu item ID’s http://i.imgur.com/HyPTCRg.jpg
    You can also use a plugin like this one – https://wordpress.org/plugins/menu-items-visibility-control/

    Cheers!
    Yigit

    #349214

    Thank you so much Yigit.
    I thought the plugin doesn’t work with responsive theme.
    I installed it and the plugin works perfectly.
    Best,

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide/Show Menus for logged in or out users?’ is closed to new replies.