Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-05T22:46:56-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2344 2011-03-05T22:46:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2344&p=7428#p7428 <![CDATA[Re: Blocking ads within theme]]>
WP Admin -> s2Member -> API / Scripting -> Advanced Query Conditionals

Statistics: Posted by Cristián Lávaque — March 5th, 2011, 10:46 pm


]]>
2011-02-17T12:06:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2344&p=6829#p6829 <![CDATA[Blocking ads within theme]]>
I am using your mod (which is great by the way) as a VIP member site. Non VIP see ads on the site and VIP don't.

So I need to add code that hides the ads to members that are 1 +. My theme is cleanhome.

I went into the theme editor and added this around an advertisement
Code:
[s2If current_user_is(s2member_level0)]
ad stuff was here
[/s2If]


When I went to view the site to test I seen the above code on the sittes and the ad was sill there. Am I missing something?


Thanks kindly and hope my above post makes sense.

Statistics: Posted by mikevic80 — February 17th, 2011, 12:06 pm


]]>