Forums
(@asaid888)
11 years, 3 months ago
It works now ??
I use this code:
<?php global $current_user; get_currentuserinfo(); echo get_wp_user_avatar($current_user->ID, 96); ?>
The code displays again my avatar for everyone.
I want to make a user area. The avatar is then to be always displayed regardless of whether you are in the home or to read an article
it doesnt work. I think it doesnt find the User-ID because it is in the header.php.
I want to add the code in the header.php