Using short codes twice
Posted: January 13th, 2012, 7:12 am
Hi Folks,
long time no see
I am working on my new wordpress installation.
Right now I am trying to use a table, surrounded by the [s2If is_user_logged_in() ] table [/s2If].
Now I am using "ccap" conditions:
So short codes appear twice...( a kind of double condition).
This causes an error, cause parts of my table are displayed for non logged in users as well...
Is this possible in general?
By the way...
I am working on a translation for german users maybe finished in a few days
Greetings
long time no see
I am working on my new wordpress installation.
Right now I am trying to use a table, surrounded by the [s2If is_user_logged_in() ] table [/s2If].
Now I am using "ccap" conditions:
- Code: Select all
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20">3.</td>
<td width="250">Die Lip-Rolls</td>
<td width="60" align="center">video</td>
<td width="72" align="center">Anfänger</td>
<td width="58" align="center">4,99 €</td>
<td width="110" align="center">[s2If current_user_can(access_s2member_ccap_v1)] <span class="gruen">bereits gekauft!</span> [/s2If][s2If !current_user_can(access_s2member_ccap_v1)] <span class="lila">jetzt kaufen!</span> [/s2If]</td>
</tr>
So short codes appear twice...( a kind of double condition).
This causes an error, cause parts of my table are displayed for non logged in users as well...
Is this possible in general?
By the way...
I am working on a translation for german users maybe finished in a few days
Greetings