This topic contains 0 replies, has 1 voice. Last updated by Rainer Otto 3 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Feb 21st, 2013 at 9:12 pm #42777 | |
Hi, I have problems with this type of not-nested shortcode conditionals (sample): [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] The resulting page part within the s2If condition is empty. Nothing happened there or it seems like so. The page is a custom page. The [] part (command) disappear correctly during run-time. Different conditional shortcodes seems not to work either, but the s2Get constants shortcodes on top of my page are working! s2If shortcode conditionals on a custom sidebar within a custom text widget works fine. I suspect a conflict anywhere but can’t pinpoint it. Any idea? Help would be very much appreciated. I use the latest S2Member program (not Pro) and the latest WordPress version of 3.5.1 Thanks Rainer |