Thanks for this plugin – really appreciate the work that’s gone into it and it’s coming in very handy.
I’m having a problem with the “On Air” widget in that it’s not displaying the Avatar. I’ve set up a Gravatar account, linked to an e-mail address and the avatar seems to show in the WordPress Users list but not in the On-Air Widget which I’ve placed in the Main Sidebar.
I’m getting this as output when I view source:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<ul class="on-air-list"> <li class="on-air-dj"> <span class="on-air-dj-avatar"></span> <a href="http://www.mosaicwebsolutions.co.uk/dev/radio/?show=lauren-stripling">Lauren Stripling</a><span class="radio-clear"> </span><span class="on-air-dj-sched">Thursdays, 1:00 am-12:00 pm</span><span class="on-air-dj-playlist"> <a href="http://www.mosaicwebsolutions.co.uk/dev/radio/?playlist=reggae-beats">View Playlist</a></span>
So the span tag with “on-air-dj-avatar” seems empty for some reason. Tried with the Twenty Twelve Theme and a few others, no luck.
I also installed the Cimy User Extra Fields plugin and setup a new field for an avatar and *attempted* to edit the author.php file by replacing:
get_avatar( get_the_author_meta( 'user_email' )
get_avatar( get_the_author_meta( 'USER_AVATAR' )
where USER_AVATAR looks like the variable name assigned by Cimy Extra Fields – but clearly I’m off track here. My PHP coding skills are very limited at the moment so I’m probably missing something very obvious.
Is there something I’m missing in getting the Avatar to show in the “On-Air” widget? Probably is something obvious but would really appreciate any help with this as I only just started setting up a site with this plugin and I’ve fallen at the very first hurdle!
- The topic ‘Avatars not showing On-Air widget multiple themes’ is closed to new replies.