Page 1 of 1

Shortcode custom capabilities

PostPosted: March 27th, 2011, 7:37 am
by enquirer62
I've used shortcode within a post to show the post only to people who have have bought access to it - this works fine. But on the post itself, at the end, everyone can read the shortcode closures:

[/_s2If]

[/s2If]
What should I do?

Re: Shortcode custom capabilities

PostPosted: March 27th, 2011, 11:07 am
by benchefe
Are you sure that every opened shortcode is closed? Maybe more closing tags than opening?
Be sure to have a "space" in front of every shortcode...
Take a look at S2member - API Scripting - Custom Capabilities.
It should work :)

Re: Shortcode custom capabilities

PostPosted: March 27th, 2011, 9:54 pm
by Cristián Lávaque
Benchefe is right, you may have more closing tags than opening ones. Could you please share the code you used in your page to see if we can spot something wrong with it?

Read this to learn how to post code in the forum viewtopic.php?f=36&t=2780 ;)