Description
Allows you to place content intended for different users on the same post/page
Content for logged in/out users
Content separated by user role/ability
Installation
List of available shortcodes:
-
publish content only visible by non-logged-in visitors
[vi-visitor]
your content
[/vi-visitor] -
publish content only visible by logged-in visitors
[vi-member]
your content
[/vi-member][vi-member type=”any”]
your content
[/vi-member] -
publish content only visible by logged-in visitors of a certian role/ability
[vi-member type=”editor”]
your content
[/vi-member]comma separated list of roles/abilities
(user needs only one of these)
[vi-member type=”subscriber, editor, custom_ability”]
your content
[/vi-member]
Reviews
There are no reviews for this plugin.
Contributors & Developers
“VI: Member Content” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “VI: Member Content” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
9.1.200115
- Update: default logged in value is not a predefined role or capability
- “any” is used internally to note “any” logged in user when no role or capability is specified
9.1.200115
- Fixed bug: potential for empty string in foreach
- Edit: moved check if $content is null earlier to skip doing extra work
9.1.191203
- Fixed bug: missing parameter
- Edit: replaced !is_feed initial requirement with is_user_logged_in
9.1.191028
- Fixed role/ability separation
0.2.181214
- FPL