I am trying to create a shortcode that will display content only if no user is logged in.
Example: [publiconly]No user is logged in. Display this[/publiconly]
I would love to see GCB pick up the content between the tags as a variable called content that I can use in my php code.
- The topic ‘[Plugin: Global Content Blocks] Feature request – allow for content between open and close tag’ is closed to new replies.