• Resolved jag_man653

    (@jag_man653)


    I’m using Mega Max Menu. I have a Top-level menu item Users. There are two sub-menus, Register and Display registered users. As a first test of Menu Item Visibility Control I put is_logged_in() in the visibility box for Display registered users. However, if I log out as Admin and just go to the site I still can see Display registered users.

    What am I missing?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jag_man653

    (@jag_man653)

    Figure it out. I had put the login dialog on the home page. Seems to work OK now.

    Thread Starter jag_man653

    (@jag_man653)

    The above needs some clarification.

    First, Select the Top-level menu in the Menus screen. Then, select the menu you want to show/hide in the Menu Structure panel. Then if you want the menu to be visible ONLY if the user is logged in, put is_user_logged_in() in the Visibility field.

    Strangely, it won’t work is you have the target menu, i.e., that menu to be shown/hidden Selected!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sub-menu item not hiding for is_user_logged_in()’ is closed to new replies.