Archive for August, 2008:
10 WordPress Hacks to Make your Life Easy
Written by Jai on August 27, 2008 – 5:29 pm - 22,218 viewsDisplaying Gravatars in comments
![]()
To refresh your memory, Gravatars are little user images from Gravatar.com that are displayed against your comments in the theme (if the theme is built to support Gravatars). A lot of WordPress themes are built without the support of Gravatars. So, here is some help for you to add Gravatars in your theme. Open up your comments.php file from the theme folder. Find this piece of code :-
<?php comment_text() ?>
Replace the above code with the following code :-
<div class="gravs">
<?php if (get_bloginfo('version')>=2.5)
echo get_avatar( $comment->comment_author_email, $size = '50', $comment->comment_author_link);?>
<?php comment_text() ?>
</div>
<br clear="all" />
The above code will display the Gravatars. Now let us add some CSS to the style.css file for your theme.
.gravs {margin-top:20px;}
.avatar {float:left; margin-right:5px; margin-bottom:5px; padding:3px; border:1px solid #999999;}
When you check your theme again, you will see the Gravatar images against your comments.
Read more
If you enjoyed this post, make sure you subscribe to my RSS feed!10 New Useful WordPress Plugins
Written by Jai on August 20, 2008 – 1:31 pm - 8,856 views
Scan all of your theme files for potentially malicious or unwanted code. Be aware of advertisements or dangerous JavaScript inserted into legitimate themes by third party theme download sites.
List Category Posts is a simple WordPress plugin which allows you to list some posts from a category into a post/page using [catlist=ID], where ID stands for the Category Id.
This WordPress plugin allows you to create sections of text in your post or page which expand/collapse when clicked on. You simply wrap the special tags around your text, and set the ‘expand link’ (the link visitors click on to show the text).
Actionable allows the creation of a categroized list of action items for users to check off and track. It was originally developed for Share 350.0 - a plan for regional sustainability to help people track their actions and efforts to create a sustainable community. Read more
If you enjoyed this post, make sure you subscribe to my RSS feed!Submit your Themes to Blog Oh! Blog
Written by Jai on August 11, 2008 – 12:55 pm - 9,071 views
A lot of WordPress theme designers have asked me if they can submit their own wordpress themes to Blog Oh! Blog for free distribution. From now on, I have decided to accept public submissions. If you are a theme designer, you can contact me and tell me about your theme. If the theme is really good and I like it, it will be announced on Blog Oh! Blog. Here are some requirements which your themes need to incorporate to be eligible for selection.
- The theme should be CSS/XHTML validated (I will accept exceptions if there is a proper reason).
- The theme should be original and unique.
- You can only have your own website’s link in the footer. No sponsor links.
- The theme should include all the required files as per the WordPress theme format.
- You cannot sell the theme once its uploaded for free download.
If you enjoyed this post, make sure you subscribe to my RSS feed!










