[SOLVED] Remove ads for registered users with Atahualpa?
Hi,
I want to remove my adsense ads (placed within widgets) for logged in users. I found this string which supposedly does this: Code:
if (!is_user_logged_in()) { Thanks! |
all depends on where you added the ad's in the first place. If you added them in a widget, you could use the 'widget logic' plugin and add that code a the widget logic...
|
You could also use the Restrict Widgets plugin which doesn't require looking up the code. It has a choice to hide for logged in users. This is my current favorite plugin for controlling the display of widgets.
|
Works great with the widget logic. Thanks for your help, didn't know about that plugin. :)
|
All times are GMT -6. The time now is 04:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.