Conditional CCAPs failing

If I have the following S2IF statements, and my end user ONLY has the CCAP SILVER value, shouldn’t the end user see ONLY THE SILVER lines and nothing else ? So basically it should only see the first if and the third if statement…but alas, that’s not happening. What am I doing wrong ?

[s2If current_user_can(access_s2member_ccap_free) OR current_user_can(access_s2member_ccap_silver)]
<div id="video_line"><div id="vl_desc"><span id="vl_text_desc">Foundation 100 - Presence</span></div>
[/s2If]
[s2If current_user_can(access_s2member_ccap_free) ]<div id="vl_rental">RENT FREE</div> <div id="vl_salesl">BUY FREE</div></div>[/s2IF]
[s2If current_user_can(access_s2member_ccap_silver) ]<div id="vl_rental">RENT SILVER</div> <div    id="vl_salesl">BUY SILVER</div></div>[/s2IF]
[s2If current_user_can(access_s2member_ccap_gold) ]<div id="vl_view">GOLD</div></div>[/s2IF]

Thanks.

@barefootango:

Shortcodes in WordPress are case-sensitive. You have “[/s2IF]” instead of “[/s2If]” in 2 places. Try fixing that and see if it resolves the issue.

it seems to have had no effect. something is definitely amiss!

Your divs are all over the place. You are missing a closing tag within the first conditional, and you have too many on the others.

Tim,

I hate dispute you sir, but no I’m not missing divs, the endings are conditional!

Thanks for the feedback though. That was kind of you.

Miles.

@barefootango: I think @KTS915 means that your "s2If " tags and “div” tags are crossed. Please check.