Nesting the shortcode
-
Is it possible, or is it already functional and I’m doing it wrong, to nest the shortcode to further restrict view within an existing restriction? For instance, if I have a restriction to family and friends, and then within that section I want to further restrict a paragraph to only family, can I do that?
example:
[private role=”custom” custom_role=”family,friends”]
Only family and friends can read this.
[private role=”custom” custom_role=”family”]
Only family can read this, friends are excluded.
[/private]
Family and friends can read the rest of this page.
[/private]Not a big deal if this is not a function. I was just wondering so I know what restriction strategeies can be used.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Nesting the shortcode’ is closed to new replies.