In the BrightBox Latest News Widget (newsbox), how can I change the display picture to call the author avatar instead of the featured image in the post?
I can give you hints for this modification:
In brightboxframeworkphpclass-framework-widgets.php search for
echo "<a class='news-link' title='".get_the_title()."' href='".get_permalink()."'>";
echo "<span class='news-thumb'>";
with any code you like. I.e. you can use this function: http://codex.wordpress.org/Function_Reference/get_avatar to retrieve the avatar. Before you need to get the author email, etc.
The topic ‘BrightBox Latest News – show author avatar?’ is closed to new replies.