Quote:
Originally Posted by cyberxxx
This code will do the trick (insert it right into your WP theme):
Code:
<?php
if (!is_user_logged_in()) {
echo "your annoying ad is here";
}
?>
Or do you want it made as a widget or so?
|
The double quotes seem to make this code unusable. Because every ad code will contain double quotes somewhere within it, it will break the echo which is exactly what happened when I tried it.