• I am trying to hidea custom menu (awsome 3.0 feature!) from non logged in users.
    I have figured out that it can most likely be done with<?php if (is_user_logged_in() ) { ?> but can’t figure out where it would go. Any help would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • <?php if (is_user_logged_in()) { wp_nav_menu([YOUR-CONFG]); } ?>

    Thread Starter dubya1337

    (@dubya1337)

    Thanks for that.
    Do I replace “YOUR-CONFIG” with the name of the menu?
    Or even better, is there a way of adding this directly to the nav menu itself? Perhaps in the back end or into the source so all are affected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to hide 3.0 custom menus from non logged in users?’ is closed to new replies.