Events Made Easy Forums How do I … Add #_MEMBERSHIPNAME as body class…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #64708
    Anonymous
    Inactive

    I know someone has asked for category to be added and you mentioned making a custom page template for that. However, I think the need is still there, at least in regards to memberships.

    For instance, I would love to have my site only show certain nav items to folks within a certain membership. Since we can’t specify which wp capabilities to give new users from a membership standpoint, this is the next best thing as we would then be able to hide elements based on a body class.

    #64711
    Franky
    Keymaster

    You can use the eme_if shortcode together with #_IS_USER_MEMBER_OF{xx} so you can hide stuff in your pages. Also, class=”#ESC_MEMBERSHIPNAME” can be added to any html element of choice, so I’m not really sure what is missing here 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top