Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Menus content protection

Simple Membership Plugin › Forums › Simple Membership Plugin › Menus content protection

Tagged: Content Protection menu

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 9 months ago by Erica Li.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 25, 2016 at 7:44 am #7978
    Erica Li
    Participant

    Hi,

    I have read content protection user guide, I am curious about may I do menus protection? I found the menus (for example, user activities) didn’t protect content after setting the protection.

    ps. I used OneSocial theme for my blog.

    Thanks.

    August 25, 2016 at 2:01 pm #7979
    TroyWolf
    Participant

    +1 I think. I’d like ability to show/hide menu item depending on if person is logged in or not. Consider these 2 menu items:

    LOGIN (goes to login page)
    MY ACCOUNT (goes to profile page)

    User not logged in:
    LOGIN (show)
    MY ACCOUNT (hide)

    User IS logged in:
    LOGIN (hide)
    MY ACCOUNT (show)

    August 26, 2016 at 1:49 am #7997
    Erica Li
    Participant

    Yes! Wanna know know how to protect menus content in Buddypress….

    August 26, 2016 at 2:23 pm #8012
    TroyWolf
    Participant

    I’ve got some good news, Erica Li! This morning I found the “If Menu” plugin that does what I want:

    http://www.wpbeginner.com/plugins/how-to-add-conditional-logic-to-menus-in-wordpress/

    It is a simple plugin that seamlessly integrates with the WP Appearance/Menus management tool. Right out of the box, it support showing or hiding menu items depending on whether the user is logged in or not.

    While it takes a bit of PHP programming skill, the article also includes instructions for how to expand the filter conditions. This means we could add filters to hide or show based on Membership Level, etc.


    @mbrsolution
    shared some Simple Membership PHP tricks with me that could be used to expand the If Menu plugin’s filters if you need.
    https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/

    If I develop any of these, I’ll post the details here. If I knew anything about creating WP plugins, I assume I could develop a Simple Membership <===> If Menu plugin integration that would add SM specific filters to the If Menu filter set. No doubt this would be easy work for the SM developers.

    August 27, 2016 at 9:36 am #8030
    Erica Li
    Participant

    Thanks, TroyWolf!
    I will give it a try!!! =)

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy