Forum Moderators: coopster
In Wordpress this will output the authors aim id from their profile
the_author_meta('aim');
I would like to output certain text only if the user has set a aim id in their profile. I tried this but it always outputs the text even if the aim id isn't set:
<?php
$thereisaim = get_the_author_meta('aim');
if (isset($thereisaim)) {
echo 'hello world';
}
?>
How can I get this to work?
Thanks.