Tagged: Blog, blog posts, filter, list, magazine, masonry, masonry grid, role, user role
-
AuthorPosts
-
September 23, 2017 at 11:57 am #855777
I’m working on a membership site, where part of the content is public and part of it is just for members. To realize this, I’m using the Members plugin (https://wordpress.org/plugins/members) and Nav Menu Roles plugin (https://wordpress.org/plugins/nav-menu-roles). This works quite nice for pages and menus. As well as individual blog posts.
At the site I’m using Enfold/Avia elements for showing lists/grids of blog posts, like Magazine (list) and Masonry (grid). The idea is that in these lists only blog posts show up if the user has permission to read those posts.
For example: there are 15 posts, 10 of these are public, and 5 of these are available for members only. If a public visitor views the blog page, he should see only 10 posts; if a member (logged in) views the same blog page, he should see all 15 posts.
Instead of this, all blog posts always show up, regardless which role the user has. It’s only when the user clicks at a certain post to read it, the system checks if he’s authorized to read the post; if not, the user gets a message generated by Members plugin (something like ‘you don’t have permission to view this post’).
Is it possible to hide the blog posts already at the blog page (which is built with Magazine or Masonry element)? So visitors don’t get disappointed because they see the titles of posts they cannot read…
September 24, 2017 at 3:20 pm #856051Hey Marc,
It is possible, but unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.