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?
|
That works well with the WP login system, but I like to use straight .htaccess (CCBill) with a similar check for a "members" cookie:
Code:
<?php if (isset($_COOKIE['Members'])) { include("members.php"); } ?>