Cannot get content restrictions based on user roles
-
May be I’m stupid but for any reason this plugin does not allow me to restrict pages and contents to selected user roles. Besides this all seems to work as expected.
Using the proposed restriction mechanism with e.g.
“[restrict userlevel=“editor“] your restricted content goes here [/restrict]”
Never shows this string independet of the actual user role. I always get the red alert string that the current user were not logged in, no matter, which role I’m using (even admin)..
The only thing, which works is using this (undocumented) restriction mechanism, omitting the ‘userlevel=..’:
“[restrict] your restricted content goes here [/restrict]”
Which distinguishes between being logged in with any role showing the restricted text and being logged out, showing the red alert.
Can it be that it has to do with the point that my WP installation is in German and thus internally might use differently spelled user roles unknown to the plugin.Many thanks
Dieter
- The topic ‘Cannot get content restrictions based on user roles’ is closed to new replies.