Tools to get the most from meta tag. Permission to view page, and a content filter
There are two commands
[ums_permission] and [usm_content]
Both look at the parameters passed in the short code to determine if that user can access content.
If the permission test fails - the following will not happen.
With [ums_permission] the page will not fully load. The ability to return to the home page still exists. Often wrapping the entire content with a [usm_content] tag would be more useful
with [usm_content] the content between the [ums_content] and [/usm_content] will be displayed
The parameter is called allowed - although any parameter starting with "allow" will work multiple parameters can be passed. in the paramter is a string that holds either
the meta_key that if it exists permission is granted or the meta_key and meta_value conbimation seperated by an :
[usm_permission allowed="employee"] Any one that does not have the meta employee will not be able to load that page. A very minimal page loads.
[usm_content allowed = "employee" allow2 = "associate_class:1"]We roll the new site out for testing tuesday[/usm_content]
Any one that has the meta_tag of employee or meta_tag of associate_class and a value of 1 can see the text.
Requires: 3.1 or higher
Compatible up to: 3.41
Last Updated: 4 years ago
Active Installs: Less than 10
Got something to say? Need help?