Tagged: gravatar
Hi Guys,
I have had a search around and cannot seem to find an answer for two things.
1. I am looking to get blog posts to display in a random order on the blog page how can i do that?
2. I am looking to replace the Gravatar outline on the author page to just another image is that possible?
I have added the links below, Thank you for your help you guys rock!
Leeroy
Hey leeroythegreat!
1- Please see – http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/
2- Please add following code to Functions.php file in Appearance > Editor and change the image link as needed
function add_custom_src(){
?>
<script>
jQuery(window).load(function(){
jQuery('span.post-author-format-type.blog-meta img').attr('src','http://wholisticmedicalcentre.com.au/assets/wmc_logo_web1.png');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_src');
If this is not what you were asking, please elaborate
Cheers!
Yigit
Hi yigit!
Thanks so much that worked perfectly!
With the gravatar image swap is it possible to have an individual image for each author? Or does it need to be the same image for all?
Cheers
Lee
Hi!
Making these changes using only codes is bit limited. Why do not you change the avatars from your Gravatar profile instead?
Regards,
Yigit
HI Yigit,
AH just the website owners do not like gravatars for some reason, but not to worry i will use your original fix!
Thanks so much for your great support!
Lee