How to remove/hide ads per user basis
-
Hello,
I am need to remove/hide ads from specific users when they are logged in. There is anyway to do this?
I tried this:
<?php global $current_user; get_currentuserinfo(); if ($current_user->user_level == 10 ) { ?> // dont show ads <?php } else { ?> // show ads - put ad code here <?php } ?>
but it doesn’t work for me, I am administrator and I still see ads with this code.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to remove/hide ads per user basis’ is closed to new replies.