WordPress Gravatar Plugin for Multiple Authors

I’ve been looking for a WordPress plugin that provides multi users to show their respective gravatars on their authored posts. Different authors, different gravatars on each post. Unluckily, I have never found one. I don’t know if there exist one for I have minimal access on resources because of f*in WebSense.

Anyway, for me, the simpliest gravatar plugin is the WordPress Gravatar Plugin. It just generates the URL for the source gravatar and it’s up to you where you want to put it on your site. However, the latest available version only supports gravatar for comment authors. What I want is have it to support authors’ gravatars on posts as well.

As I have said “simple”, here’s what I did with the plugin:

  1. Added a parameter that will verify if the function was called from a post or from the comments.

    function gravatar($rating = false, $size = false, $a_post = false, $default = false, $border = false)

  2. Added a global $authordata variable
  3. Used $authordata->user_email if gravatar was called from a post

    $out = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($comment->comment_author_email);
    if ($a_post)
    {
    $out = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($authordata->user_email);
    }
  4. Called the gravatar function on posts
    <img id="gravatar" src="<?php gravatar('R', 40, true); ?>" alt="author's gravatar">

  5. Called the gravatar function on comments

    <img id="gravatar" src="<?php gravatar('R', 50, false); ?>>

Download the original or ask a copy of my version if you want or download it straight if you really want and see the sample here.

  1. file ice says:

    sharecash, share cash, pay per download, PPD, fileice, upload files, file ice, make money uploading, earn per download, money uploading, make money files, make money videos, get paid upload, get paid to upload

  2. Hi, after reading this awesome paragraph i am also happy to share my experience here with colleagues.

    my page game of war fire age cheat

  3. Pretty! This has been a really wonderful article. Many thanks for supplying
    this info.

  4. ?? says:

    I love to share information that I have
    built up through the yr to assist improve group efficiency.

    my site; ??

  5. Roxanne says:

    This is a topic that’s near to my heart… Many thanks!
    Exactly where are your contact details though?

  6. hi!,I love your writing so so much! share we keep
    up a correspondence more about your post on AOL? I need a specialist in this space to unravel my problem.
    Maybe that’s you! Taking a look ahead to look you.

  7. On va te dire que ce n’est nullement erroné !!

  8. soup.io says:

    Un monumental bravo à l’auteur de ce blog

  9. Splendide article : j’espère en discuter dans la journée avec mes
    amis

  10. lesbo says:

    Je peux vous dire que c’est toujours du bonheur de venir sur votre blog

  11. Magnifique article, encore une fois

  1. [...] Anyway, this project is a multi-user blog, and as part of it, I installed and customized the WP-Gravatar plugin so that every author will have their gravatar with their posts. I also have installed the Subscribe to comments plugins which went smoothly as I wanted. [...]

  2. [...] Gravatar plugin For Multiple Authors ???????? [...]

  3. [...] 21. WordPress Gravatar Plugin for Authors [...]

  4. [...] O ultimo plugin mostra o gravatar do autor no post. Download do plugin WordPress Gravatar [...]

  5. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  6. [...] 21. WordPress Gravatar Plugin for AuthorsWordPress ?????? [...]

  7. [...] Gravatar plugin For Multiple AuthorsWordpress plugin that provides multi users to show their respective gravatars on their authored posts. [...]

  8. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  9. [...] O ultimo plugin mostra o gravatar do autor no post. Download do plugin WordPress Gravatar [...]

  10. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  11. [...] Gravatar plugin For Multiple Authors: Plugin che fornisce agli autori la possibilità di mostrare il loro Gravatars sui loro rispettivi post. [...]

  12. [...] O ultimo plugin mostra o gravatar do autor no post. Download do plugin WordPress Gravatar [...]

  13. [...] Gravatar plugin For Multiple AuthorsWordpress plugin that provides multi users to show their respective gravatars on their authored posts. [...]

  14. [...] Gravatar plugin For Multiple Authors ???????? [...]

  15. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  16. [...] Gravatar plugin For Multiple Authors ???????? [...]

  17. [...] Gravatar plugin For Multiple AuthorsWordPress plugin that provides multi users to show their respective gravatars on their authored posts. [...]

  18. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  19. [...] WordPress Gravatar Plugin for Authors WordPress [...]

  20. [...] Gravatar plugin For Multiple Authors ???????? [...]

  21. [...] Gravatar plugin For Multiple AuthorsWordPress plugin that provides multi users to show their respective gravatars on their authored posts. [...]

  22. [...] You can replace your author images with a Gravatar, making life easy for everyone, using the Gravatar Plugin for Multiple Authors, or integrate it directly into WordPress yourself with a few bits of [...]

  23. [...] Gravatar???????? [...]

  24. Website says:

    Website…

    Naruto Shippuuden Blog » Blog Archive » WordPress Gravatar Plugin for Multiple Authors – Naruto has come with a vengeance….

  25. [...] Gravatar plugin For Multiple Authors ???????? [...]

  26. [...] Gravatar plugin For Multiple Authors ???????? [...]

  27. [...] 21. WordPress Gravatar Plugin for AuthorsWordPress ?????? [...]

  28. [...] Gravatar plugin For Multiple Authors ???????? [...]

  29. [...] Gravatar plugin For Multiple Authors ???????? [...]

  30. [...] Gravatar plugin For Multiple Authors ???????? [...]

  31. [...] Gravatar plugin For Multiple Authors ???????? [...]

  32. [...] Gravatar plugin For Multiple Authors???????? [...]

  33. web page says:

    web page…

    Naruto Shippuuden Blog » Blog Archive » WordPress Gravatar Plugin for Multiple Authors – Naruto has come with a vengeance….

Leave a Reply