Archives for category —wordpress

Widescreen wordpress wallpaper

Wide Screen Wordpress Wallpaper

Wide Screen Wordpress Wallpaper

Here is a cool wordpress wallpaper for you wordpress fans…by a wordpress fan… :) Download and enjoy!

How to list all registered users on your wordpress site

In my latest project i was required to add a community touch to a site by listing the Name, Email, Nickname, URI and Gravatar of all the registered users on the site. I came with the following solution : I made a new page template called users and added the following lines of php to the template :

<?php
/*
        First we set how we’ll want to sort the user list.
        * ID – User ID number.
        * user_login – User Login name.
        * user_nicename – User Nice name ( nice version of login name ).
        * user_email – User Email Address.
        * user_url – User Website URL.
        * user_registered – User Registration date.
*/

$sort= "user_registered";

//the default avatar to display in case gravatar is not available for a user
$default = "http://www.somewhere.com/some-directory/some-image.png";

//the size of the gravatar , here 96px
$size = 96;

//Build the custom database query to fetch all user IDs
$all_users_id = $wpdb->get_col( $wpdb->prepare(
        "SELECT $wpdb->users.ID FROM $wpdb->users ORDER BY %s ASC"
        , $sort ));

//we got all the IDs, now loop through them to get individual IDs
foreach ( $all_users_id as $i_users_id ) :

// get user info by calling get_userdata() on each id
$user = get_userdata( $i_users_id );

//GETTING INFO FROM EACH USERS
//get the user’s email ID
$email = $user->user_email;

//build the gravatar URL
$grav_url = "http://www.gravatar.com/avatar.php?
gravatar_id="
.md5( strtolower($email) ).
"&default=".urlencode($default).
"&size=".$size;

//get the user’s full name
$user_fullname=$user->first_name . ‘ ‘ . $user->last_name;

//get the user’s URI
$user_url=$user->user_url;

//get the user’s nickname
$user_nickname=$user->nickname;

//get the user’s description ( the biographical info field, )
$user_profile=$user->description;

?>

<!– Now here you can display each users info using the variables defined above –>

<?php
endforeach; // end the users loop.
?>

Hope you found it useful, cheers :) , WORDPRESS ROCKS

Wordpress Commercial Theme directory goes live…

The Official Wordpress Commercial Theme Directory has gone live today. The direcory is a part of the extend>themes section of wordpress.org. Though it is called “directory” right now it only lists some sites that provide commercial or premium wordpress themes licenced under our favorite GPL licence . The criteria for your site being included is quite simple.

To be included, you should:

* Distribute 100% GPL themes, including artwork and CSS.
* Have professional support options, and optionally customization.
* Your site should be complete, well-designed, up to date, and professional looking.
* Include a haiku about yourself to be included.

and send your details to themes@wordpress.com
Lets hope that they evolve further and start hosting commercial GPL themes themselves,

Another wordpress theme

Free beautiful wordpress theme

Free beautiful wordpress theme


Here is another free beautiful wordpress theme from dynamicguru.com . This theme uses jQuery effects for a nice hover effect on the links in the sidebar.

Download this free Wordpress theme

UPDATE 17/06/09

An updated an improved version (1.3) of this theme is now available for download at the official wordpress theme directory :
http://wordpress.org/extend/themes/silver-dreams


To install wordpress theme :

  1. Download and unzip the theme file
  2. Upload the theme directory to “wp-contents/themes” directory
  3. If you do it right, the theme preview will be visible in “Themes”, Click on it to activate and enjoy!

Silver Simplicity – Free gorgeous light weight wordpress theme

Hey fellas, this is the first free wordpress theme from www.DynamicGuru.com . Its light weight,uses minimum images and is beautiful

screenshot

Download the following .rar file, unzip it and upload the files to your theme directory and activate it from Dashboard->Appearance (themes)

Click here to download this wordpress theme

© 2010 Dynamic Guru All rights reserved — About UsContactMujtaba