[memb_can_view_post]

OTHER DOCS Available

Summary

This shortcode displays content based on the permissions of the specified post or page.

Shortcode Examples

[memb_can_view_post post_id="172"]
   Yay! you can view that page!
[else_memb_can_view_post]
   Nope. Sorry. You can't look at that.
[/memb_can_view_post]
[memb_can_view_post post_id="180"]
   Yay! you can view that page!
[else_memb_can_view_post]
   Nope. Sorry. You can't look at that.
[/memb_can_view_post]

Here’s how you can get the postid:

postid

Shortcode Parameters​

post_id: The id of the specific post.

Shortcode Attributes

Conditional: Yes (?)
Nestable: Yes (?)
Accepts formatting: No (?)
Capturable: No (?)

9 ways to add more value to your membership site

[memb_can_view_post]

This Applies To