• I am trying to set up a member site using Front-End Only Users plug-in (FEUP). There is no way that I can find to hide the menu items from non-members via the plug-in other than modifying the header.php file for my theme…but that doesn’t work because my theme only allows 1 menu. (I have asked support for help.)

    The member list/permissions are separate from the WordPress Users/Roles. Is there any way to show menu items only to the member list in FEUP?

    Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shazdeh

    (@shazdeh)

    Checking the plugin’s page it seems it has this [restricted] shortcode that can determine if user has access to that piece of content or not, so you could try something like:

    
    do_shortcode( '[restricted]Test[/restricted]' ) === 'Test'
    

    The idea is to send a “Test” string to that shortcode and then check if the same string came back (since if the user doesn’t have access, it will return an error).

    That being said, I’m not familiar with the plugin, please contact the plugin’s devs and ask them what is the proper way to check user access when using that plugin.

    Hope this helps!

    Thread Starter esarbege

    (@esarbege)

    Ohhh, sadly, no. It didn’t work. Putting in that code broke the site temporarily.

    I had hoped there would be some simple way to ask the plugin to test user access via the menu items but it didn’t work. Thank you for trying to help.

    I will contact the developer and maybe this time I’ll get a response I can use.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show menu to users in membership plug-in only?’ is closed to new replies.