Moshu – thanks. ??
I’ve put it in to the code, and it does work well.
<?php
global $user_login, $user_identity;
get_currentuserinfo();
if ($user_login) :
?>
<?php else : ?>
<?php easy_announcement(); ?>
<?php endif; ?>
Any way to trim it down a bit? I don’t need to find the user’s login name, I just need to block them from seeing <?php easy_announcement(); ?> when they’re logged in.
In other words, is it possible to cut the code down a fraction?