Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #319043

    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

    #319143

    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

    #319511

    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

    #319920

    Hi!

    Making these changes using only codes is bit limited. Why do not you change the avatars from your Gravatar profile instead?

    Regards,
    Yigit

    #320242

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Display Blogs in a random order’ is closed to new replies.