<if condition="exec_switch_bg()"><div class="$bgclass">this will be alt1 or alt2</div></if><if condition="exec_switch_bg()"><div class="$bgclass">this will be the other class</div></if>
<if condition="exec_switch_bg()"><div class="$bgclass">this will be alt1 or alt2</div></if><if condition="exec_switch_bg()"><div class="$bgclass">this will be the other class</div></if>
But how would you set the first one to be alt1? Do you have to add something to the stylesheet?
It already knows what, if anything the previous one was, however I'm sure you can override it with a parameter, but I don't have a copy of functions.php with me at the moment.
It already knows what, if anything the previous one was, however I'm sure you can override it with a parameter, but I don't have a copy of functions.php with me at the moment.
Bah! I have my forumid's all messed up, so this wont work for me. Oh well, I didnt want to copy SPF anyways :P