{"id":2397,"date":"2008-10-16T10:45:39","date_gmt":"2008-10-16T17:45:39","guid":{"rendered":"http:\/\/lee.org\/blog\/?p=2397"},"modified":"2008-10-16T10:49:30","modified_gmt":"2008-10-16T17:49:30","slug":"installed-gravatars","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2008\/10\/16\/installed-gravatars\/","title":{"rendered":"Installed Gravatars"},"content":{"rendered":"<p><a href=\"http:\/\/lee.org\/blog\/wp-content\/uploads\/2008\/10\/gravatar.png\"><\/a>W<a href=\"http:\/\/lee.org\/blog\/wp-content\/uploads\/2008\/10\/gravatar.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-2398\" title=\"gravatar\" src=\"http:\/\/lee.org\/blog\/wp-content\/uploads\/2008\/10\/gravatar-300x101.png\" alt=\"\" width=\"300\" height=\"101\" srcset=\"https:\/\/www.lee.org\/blog\/wp-content\/uploads\/2008\/10\/gravatar-300x101.png 300w, https:\/\/www.lee.org\/blog\/wp-content\/uploads\/2008\/10\/gravatar.png 454w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>ell, that was straightforward. I installed <a href=\"http:\/\/en.gravatar.com\/\">Gravatars<\/a> in the blog comments.<\/p>\n<p>So now if you want to put your mug shot next to any of your comments on any blog in the world that supports Gravatars, just sign up with Gravatar.com and give them your image.<\/p>\n<p> \u00a0<\/p>\n<p>Here&#8217;s how I installed Gravatars.<\/p>\n<p>I added 1 line to my comments.php following this already existing line:<\/p>\n<p><code>&lt;cite&gt;&lt;?php comment_author_link() ?&gt;&lt;\/cite&gt; Says:<br \/>\n&lt;?php echo get_avatar( $comment, 50 ); ?&gt;<\/code><\/p>\n<p>And I added this to my style.css<\/p>\n<p><code>.avatar { \u00a0<br \/>\nfloat: right;<br \/>\n}<\/code><\/p>\n<p>Done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, that was straightforward. I installed Gravatars in the blog comments. So now if you want to put your mug shot next to any of your comments on any blog in the world that supports Gravatars, just sign up with Gravatar.com and give them your image. \u00a0 Here&#8217;s how I installed Gravatars. I added 1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2397","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/2397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=2397"}],"version-history":[{"count":0,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/2397\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=2397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=2397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=2397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}