• Resolved stephonwordpress

    (@stephonwordpress)


    Hello,
    at first thank your for this plugin.
    I have a problem, if I want to use more user roles. For example if ‘user role 1’ is logged in, it can see only ‘content 1’. if ‘user role 2’ is logged in, he can only see ‘content 2’ (NOT ‘content1’).
    Is there a possibily the shortcode for login to change for user roles?
    Thank you very much,
    greetings
    Steph

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The plugin does not natively block content based on user roles (at least in the sense of blocking full posts/pages). However, there are some options/alternatives.

    The [wpmem_logged_in] shortcode does have a parameter for defining a user role.

    You can build a custom filter function to handle blocking content based on whatever criteria you write into your function (such as user role). This would use the wpmem_securify filter.

    There is an Advanced Options extension available to subscribers of the premium support site. One of the features is that it allows you to set a role for access to individual posts or pages.

Viewing 1 replies (of 1 total)
  • The topic ‘user roles’ is closed to new replies.