Read below about related content about wordpress+2+9+get+gravatar+code, You can contact us to improve our contents and site quality

How To Load Gravatar on the Fly

May 8th, 2010 By WP Tricks Posted in Tricks

Gravatar become very popular image recognition, it’s small image displayed almost on my WordPress Themes. After acquired by Automattic, Gravatar seamless integrated in WordPress.com. And for WordPress.org users, there are some ways to displayed on their site/blog. We can manually insert code into themes or using Gravatar Plugins.

Load Gravatar on the fly - Marie Digby

Load Gravatar on the fly - Marie Digby

I will show you how to Load Gravatar Icon/Images on the fly using Javascript on your WordPress Comment, This code original design by Stephen Mcintyre. Let’s get started, you need to added this code in your comment form on comments.php

<img id="gravatar" src="http://www.gravatar.com/avatar/?s=80&d=wavatar" width="80" height="80" alt="Gravatar" />

Image code below is the on the fly area on the Gravatar will be, and wavatar parameter is to displayed random wavatar, if there are no email available.
Read the rest of this entry »

Amazing Touch

The Right Way to Change The Default Gravatar in WordPress

March 28th, 2010 By WP Tricks Posted in Tricks

I will show you How to Change the Default Gravatar in WordPress, why? Because one of my favourite WordPress Comment enhancement is added Gravatar, after Gravatar become Automattic Family, Gravatar become more and more better. Especially integrated with many many Automattic Family, and of course WordPresss too.

The Right Way to Change The Default Gravatar in WordPress

The Right Way to Change The Default Gravatar in WordPress

Why changed the default (Misery Man) Gravatar? For me, it’s will make our website more unique and of course we can added extra banner or something in our Default Gravatar. Let’s get started, write down tiny code below in your theme functions.php

Change The Default Gravatar Code

add_filter( 'avatar_defaults', 'customgravatar' );

function customgravatar ($avatar_defaults) {
    $myavatar = get_bloginfo('template_directory') . '/images/custom-gravatar.jpg';
    $avatar_defaults[$myavatar] = "WP Tricks & Tips";
    return $avatar_defaults;
}

Read the rest of this entry »

Amazing Touch

How To Display Recently Registered Users on WordPress

February 17th, 2010 By WP Tricks Posted in Tips

With little bit functions Display Recently Registered Users on WordPress with Gravatar is easy, we only need to write down little bit of code and the result will be displayed. This code is original resource from WP Recipes, we only tweak it little bit.

Display Registratered Users on WordPress with Gravatar


Read the rest of this entry »

Amazing Touch