I want to post inforation about the author of the website on every page. This means it needs to display the 'author' avatar, name, biography (x chars) of id 2.

Is this possible?


Found the answer myself:

$blogusers = get_users('include=2');
foreach ($blogusers as $user) {
    echo '<h3>Over '. $user->first_name .'</h3>'
    . get_user_meta($user->ID, 'description', true) .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.