• compusolver

    (@compusolver)


    Installed on a site with an elegantthemes theme. Tried to restrict some posts so only “subscriber” role could read, but it restricted from admins and everyone. Nobody can read the posts (tried contributors & admins – didn’t try subscribers).

    Also, there is no way to restrict by category. Time to code!…

Viewing 3 replies - 1 through 3 (of 3 total)
  • John Parris

    (@mindctrl)

    Hi @compusolver,

    Elegant Themes has a proprietary page builder that doesn’t display the content using the WordPress standard methods. This would affect not only Restrict Content, but other membership and content restriction plugins, as well as any other plugin that relies on the standard to do its thing.

    One of our team members wrote an extensive review of page builders, where he mentions Divi by Elegant Themes. If you’re curious about the ins and outs of page builders, you can read more about it here: https://pippinsplugins.com/wordpress-page-builder-plugins-critical-review/

    Thread Starter compusolver

    (@compusolver)

    A couple of points, John –

    Both “S2 Member” and “Restrict Content by Role” plugins were successfully able to do what yours was not, in the same ElegantThemes website.

    As someone who’s written a couple of plugins myself, I know you can write a plugin that is easily interfered with by other plugins or themes and you can write them in a way that is more likely to work in most configurations.

    Your reply and the fact that other plugins can do the job just fine in the very same website, may shed light on how “Restrict Content” was written.

    John Parris

    (@mindctrl)

    I appreciate your feedback.

    Restrict Content uses the the_content filter in WordPress, which is effectively the stuff you type in the post/page editor. That’s the approach we took here, which may be different than the approach taken by the other plugins. That’s not to say one approach is better than another, just that there are reasons we took this approach.

    I’m happy to hear you found a solution that works for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn’t work’ is closed to new replies.