PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Shortcode custom capabilities

s2Member Plugin. A Membership plugin for WordPress®.

Shortcode custom capabilities

Postby enquirer62 » March 27th, 2011, 7:37 am

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?
User avatar
enquirer62
Registered User
Registered User
 
Posts: 12
Joined: March 22, 2011

Re: Shortcode custom capabilities

Postby benchefe » March 27th, 2011, 11:07 am

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 :)
You need music for your own website? You need an audio jingle? You need spoken words or special sounds? Let me now. I can create YOUR individual solution!
User avatar
benchefe
Experienced User
Experienced User
 
Posts: 33
Joined: February 11, 2011
Location: Hannover, Germany

Re: Shortcode custom capabilities

Postby Cristián Lávaque » March 27th, 2011, 9:54 pm

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 ;)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron