Using Gravatar Without Plugin by Connor Wilson

Wordpress November 6th, 2008

Connor Wilson has published nice post. He wrote about how to make gravatar without plugin and I’ll share for you. First, add this script to your comments page.

1
2
3
4
5
6
7
<?
$email = ""; //email that user use in gravatar
$default = ""; // link to your default avatar or if user doesn't have gravatar
$size = 40; // size in pixels squared
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=
  ". md5($email) . "&default=" . urlencode($default) . "&size=" . $size;
?>

Then call it gravatar on tag <img src”"> like this:

1
<img src="<?=$grav_url ?>" height="<?=$size ?>" width="<?=$size ?>" alt="User Gravatar" />

Put it on each comments. That’s all.. Easy right.. hehe.

Thx Connor. I’ll use it on my current project with Code Igniter.

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

“30 Free High Quality Wordpress Themes” From smashingmagazine.com

Wordpress September 19th, 2008

This about Wordpress theme again.. One day, when I deep surfing in Google i found 30 free high quality Wordpress Themes from Smashing Magazine.
Hmm that’s great.. Let’s check it out^^

http://www.smashingmagazine.com/2008/08/25/30-free-high-quality-wordpress-themes/

I hope this useful for you..

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

WordPress 2.6.2 released

Wordpress September 9th, 2008

The developers behind the popular open source blogging tool WordPress have released the latest edition WordPress 2.6.2.

Not much information is available as the official WordPress blog is yet to be updated with any news.

But WordPress 2.6.2 is now available for download from the official download page.

Bloggers are also getting the alert message from the backend of their WordPress blogs about this new updated edition.

Checkout: WordPress 2.6.2

Read the rest of this entry »

Sphere: Related Content

Tags: ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Display Recent And Random Image On Wordpress

Wordpress August 19th, 2008

Hello all^^
I never tried to make experiment and today I have little experiment to display recent image of nextgen gallery on Wordpress home page. First you must have execphp plugin installed on your Wordpress blog. You can download here. Exephp plugin is used to enable execute php on Wordpress page. So you can execute php on your Wordpress page, but be careful with WSIWYG. WSIWYG will filter all php code. so you must use HTML editor to create your home page.

After you have plugin installed, change default wordpress post page to another page. For example blog. Then you must create new page for home page. Go to Setting->reading->front page displays and change it to A static page (select below). Select your front page to home and your post page on blog.
Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Adding Image Gallery On Wordpress

Wordpress August 18th, 2008

There are so many open source image gallery solution for Wordpress. You can see recomendation of image gallery plug-in on this post. Pixelwit blog gave best recommendation.

In this post I’ll give you some tutorial, how to integrated Image Gallery on Wordpress. In this tutorial I’ll use Nextgen Image Gallery plug-in. With this plug-in, you can manage your galleries and albums very well. You can choose any style for you gallery page. The installation is very easy. Just follow the instruction bellow.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Blogroll Link Update