How to use gravatars in WordPress
Filed under Labs
Gravatar means Globally Recognized Avatar, it is used to display pictures for users on theme with out integrating any plugin. For example below code will return a 50px x 50px Gravatar.
<?php
echo get_avatar( 'email@example.com', 50 );
?> |
Posts you may like:
Delete records within a specific Range from MySQL table
If you want to delete a range of records from MySQL table then you can …
php pagination code example using MySql database
Here is a working code for pagination using PHP and MySql database. Its is tested …
How to include php headers on html site
PHP is a powerful language for web development, it have many in built functions. Here …
Meta refresh tag HTTP-EQUIV “REFRESH”
The refreshing time of a webpage can be define by using html tag HTTP-EQUIV “REFRESH”. …
Open link in a new window
Here is some ways to make html links for a webpage, it will be useful …