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?

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) .
    '';
}
?>
| improve this answer | |

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.