[Plugin: Members] Content permission
Thank you so much for this great plugin you developed. It is wonderful!
Referring to content permission.
I wanted to know if there is a way to add a php code into a template to limit access to a certain part of the post’s content to users of the selected roles. I mean, instead of limiting the access using the content management system in a meta box (or using [access]), doing with a piece of code in the template type-post-page. The reason I ask this is because I am using the ‘Custom Plugin’ wordpress plugin, and I am customizing the CMS with text fields (<?php the_field(‘test’);?>. However, when I apply the content permission role to the page, I notice that this content is available to any user. There are images in the template that we dont want to be seen either and are not limited to user role. Is it a way to do it in the template?
Thank you so much!!!!
- The topic ‘[Plugin: Members] Content permission’ is closed to new replies.