Universal
Also available forKeap

[memb_has_any_tag]

Summary
Conditional shortcode to control access to portions of a post, page or widget based on the logged in user’s tags.

Description

Conditional shortcode to control access to portions of a post, page or widget based on the logged in user’s tags.

Shortcode Examples

To display a message if someone has a tag.

[memb_has_any_tag tagid=123]Message[/memb_has_any_tag]

To display a message if someone has a tag and a different message if they don’t have the tag.

[memb_has_any_tag tagid=101,102]
   Shown to users with these tags
[else_memb_has_any_tag]
   Shown if user doesn’t have specified tags
[/memb_has_any_tag]

Shortcode Parameters

tag_idsA comma separated list of tag names or IDs.

Shortcode Attributes

ConditionalYes
NestableYes
Accepts formattingYes