Conditional to hide and show text

I want to be able to show the download button when the person has bought. If someone has not bought, they see “get more info” button instead.

2 buttons:
one says “Download”
other says: “Get more info”
Tired to put some html here but it did not show it as text but as actual links. lol…

What is the conditional that would make the first button appear for level1, ccap 1 and level 0 no ccap have the other button appear?

Hi Marie.

The s2If shortcode would help you with that.

Something like this…

[s2If current_user_is(s2member_level1) AND current_user_can(access_s2member_ccap_1) ]
[s2If current_user_is(s2member_level0)]
Get more info

I hope that helps. :slight_smile:

1 Like

Thanks Cristian, I will give it a try…much appreciated. :slight_smile:

1 Like

Solved my own problem…Thanks for your help… :slight_smile:

1 Like

Well done! I’m glad. Thank you for the update. :smiley: