• Resolved davidspan

    (@davidspan)


    Ok I’m pretty new at this and have gotten stuck:

    <?php
    if ((the_author_ID()) == 4){
            echo'boo';
    }else{
    	echo'not boo';
    }
    ?>

    It’s not getting a value so it just prints 4not boo… What am I doing wrong

The topic ‘if author’ is closed to new replies.