Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #247187

    Hi All,

    I’m trying to add conditional logic so that a menu only shows up if a user is logged in. I’ve tried several plugins, “If Menu,” “Menu Item Visibility Control,” etc, but the logic field never shows up when editing the menu. I’ve checked the screen options to make sure I wasn’t missing something obvious, but no dice. I know Enfold was recently updated to include conditional menu logic, but is there anything I can do with the Abundance theme to make this happen? Thanks in advance.

    Best,
    Alex

    #247297

    Hi,

    Do the logic fields appear if you switch to the default WordPress theme?

    Cheers!
    Josue

    #247698

    Hi Josue,

    Unfortunately, I don’t have a staging environment set up for this site yet, so I can’t easily check. Is there any other test I can try in the meantime?

    Best,
    Alex

    #247766

    Hi!

    I’ll mark this thread for Kriesi. I’m not sure if he plans to add the conditional menu feature to the Abundance theme framework.

    Cheers!
    Peter

    #248331

    Great, thanks Peter. I’ll await a response from Kriesi.

    Best,
    Alex

    #248539

    Hi!

    As an interim solution you can use the body class logged-in to hide items for non-logged in users. Something like:

    
    .show-for-users {display: none;}
    .logged-in .show-for-users {display: block;}
    

    with the show-for-users class added to the menu items you want to show only when logged in.

    Regards,
    Devin

    #248909

    Devin,

    I’m not sure why I didn’t think of that. That will work fine until a long term fix is made. Thanks!

    Best,
    Alex

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Conditional Menus with Abundance’ is closed to new replies.