Recent Posts and Recent Comments Restrict Viewing
-
The site is currently in development mode so cant provide the link, as much as I would like to.
We have installed UM and created multiple user roles, when we create post entry, it is restricted by member role. For instance My Website Is New post has two versions, a short version available for viewing by both visitors (anonymous) and by Subscriber. It has NOT restrictions via UM metabox.
There is another longer version of the same post, My Website is New, and it is created for Gold Members and has restricted access by users with Gold role.
The problem arises when we log off and visit the site as ANONYMOUS, non registered visitors, we go to the Blog section and it has RECENT POSTS AND RECENT COMMENTS at the top of the page via WPBakery widgets.
Oddly enough the RECENT POSTS is displaying the post entry link/summary for BOTH the short version and the Gold user version, even though I am browsing as anonymous and should not be seeing the listing for the Gold members in Recent Posts.
The same thing for Recent comments, comments for both subscriber/anonymous and gold are listing and viewable by anonymous.
I would like to be able to turn off the Recent Posts listings and Recent Comments listing based on subsciber role level and what level I am browsing the site with?
Can this be done with UM or do we need a child theme function.php patch to do this?
How can it be done?Thank you kindly
- The topic ‘Recent Posts and Recent Comments Restrict Viewing’ is closed to new replies.