0

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?

1 Answer 1

0

Found the answer myself:

<?php
$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 and acknowledge you have read our privacy policy.

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