Hello,
i'm using s2member on my site. And the php conditionals works fine and so does the shortcodes. But, whenever I put two shortcodes, there is always some big space gap (where the shortcode is there).
For example I write this:
[s2If current_user_can(access_s2member_level1)]
Some content for Members who are logged in with an s2Member Level >= 1.
[/s2If]
[s2If !current_user_can(access_s2member_level1)]
Some public content.
[/s2If]
Those members who are with s2member accounts will NOT see the "Some public content" area. But rather see a big white space as if the shortcode is supposed in there.
While those area for public will NOT see the "Some content for Members" area. But rather see a big white space as if the shortcode is supposed in there.
PHP conditionals is not doing this. If the content is not visible for that user, they won't see a big white space in there. So, i'm wondering, why shortcode is doing this? Anyway to fix this? Thanks