WordPress Themes Blog Oh! Blog

Share on Facebook3Tweet about this on Twitter18Share on Google+0Pin on Pinterest0Share on LinkedIn0

Displaying 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 :-

Replace the above code with the following code :-

=2.5)
echo get_avatar( $comment->comment_author_email, $size = '50', $comment->comment_author_link);?>


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.

Image Gallery in WordPress

All the versions of WordPress 2.5+ have inbuilt Image Gallery function where you can upload your images in a set and then insert the gallery either into your post or a new page.

But almost all the old themes(before 2.5) and many new ones do not have the integrated functionality. In order to add this feature, here is what you have to do :-

In your existing theme, open single.php and save it as image.php in your theme folder. Now open this image.php file in an editor and find the line that displays the post content. It should be somewhat in the following form. It can differ a bit but the function is called by the_content like this :-

Now insert the following code above the aforementioned code (the_content) :-

ID); ?>">ID, 'medium' ); ?>

post_excerpt) ) the_excerpt(); // this is the "caption" ?>

Insert the following code below the aforementioned code (the_content) :-


Now, add this CSS to your theme’s style.css file :-

/****************Image Gallery *********************/
.gallery {text-align:center;}
.gallery img {padding:2px; height:100px; width:100px;}
.gallery a:hover {background-color:#ffffff;}
.attachment {text-align:center;}
.attachment img { padding:2px; border:1px solid #999999;}
.attachment a:hover {background-color:#FFFFFF;}
.imgnav {text-align:center;}
.imgleft {float:left;}
.imgleft a:hover {background-color:#FFFFFF;}
.imgleft img{ padding:2px; border:1px solid #999999; height:100px; width:100px;}
.imgright {float:right;}
.imgright a:hover {background-color:#FFFFFF;}
.imgright img{ padding:2px; border:1px solid #999999; height:100px; width:100px;}

The above CSS code fixes the default gallery of WordPress which doesn’t look so good. So, now when you go and upload your images in a post or a page, go to the gallery option (after you have finished uploading all your images) and insert gallery into your post/page. That’s it!

Adding a “Subscribe to feed” message after every post

Many people use this kind of message to remind the readers to subscribe to their blogs and place them at the end of every post. This can be accomplished by using a simple plugin or you can do the following. If you want the message to show under all your posts on the homepage, open up index.php and just where your content finishes (the_content), add this line :-

If you enjoyed this post, make sure you subscribe to my RSS Feed

You can do the same for your single.php file in the theme folder which is used to display your individual posts.

Displaying Twitter messages on your blog

If you have a Twitter.com account and want to display the twitters that you make on your blog, here is what you have to do.

Login to your Twitter.com account. Go to this URL :- http://twitter.com/badges/html and choose your settings. Copy the code and paste it on your blog. You can paste it directly into your theme files or use text widgets to put them in a sidebar. They can also be styled through CSS.

Displaying Authors’ Bio

In a multi-user blog, it can be beneficial to show the Authors’ Bio under every single post for the users to read about the post author. This can be done using the Biographical Info in the Your profile setting under Users section of WP-Admin.

To integrate this bio, open up your single.php file and under the_content line (as before), add this code :-

Now, add the following CSS code to your style.css in the theme folder:-

.author{
color: #222222;
font-family: Arial;
font-size: 12px;
border:1px solid #CCCCCC;
width: 500px;
padding: 5px;
margin-top:10px;
margin-bottom:10px;
}

Now if you refresh your individual post pages, you will see the author’s info under the post content.

Categories drop down

To add a good looking drop down that will list all your existing categories, insert the following code in your blog template. You can do it either in your sidebar.php file or anywhere in the index.php. This is the code :-



$select = wp_dropdown_categories('show_option_none=Select category&show_count=1&orderby=name&echo=0');
$select = preg_replace("#]*)>#", "", $select);
echo $select;
?>

Archives drop down

Just like in categories, you can have your monthly archives listed in a drop down. Add the following code to your template files :-

Adding 125×125 Ads to your sidebar

Many people do not know how to integrate 125×125 banner ads into their theme sidebars. I will explain it to you. Save the following image to your desktop (this is a sample 125×125 banner that we will use) :-

Make a folder called “ads” in your theme folder (the theme in which you want to add these banners) and place this image (125.gif) in that new folder. Now, add the following code to your sidebar where you want the banners to appear :-

Advertising
Advertising



Finally, add the following CSS code to your style.css file :-

.bannerads {width:270px; margin:10px auto;}
.ad_125x125 {float:left; margin:0px 5px 10px 5px; width:125px; height:125px;}

When you refresh your theme, you will see two adjacent 125×125 banner ads in your sidebar. You can then change the images as you like and also the hyperlinks.

Displaying most commented (popular) posts

There is always an urge in bloggers to showcase their most popular posts or the posts with the most comments. This is how you can do it:-

Place the following code at the end of your header.php file in the theme folder. You can change the number of popular post titles that will be pulled from the database by altering the $no_posts variable in the code :-

', $after = '

', $show_pass_post = false, $duration='') {
global $wpdb;
$request = "SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID) AS 'comment_count' FROM $wpdb->posts, $wpdb->comments";
$request .= " WHERE comment_approved = '1' AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status = 'publish'";
if(!$show_pass_post) $request .= " AND post_password =''";
if($duration !="") { $request .= " AND DATE_SUB(CURDATE(),INTERVAL ".$duration." DAY) < post_date ";
}
$request .= " GROUP BY $wpdb->comments.comment_post_ID ORDER BY comment_count DESC LIMIT $no_posts";
$posts = $wpdb->get_results($request);
$output = '';
if ($posts) {
foreach ($posts as $post) {
$post_title = stripslashes($post->post_title);
$comment_count = $post->comment_count;
$permalink = get_permalink($post->ID);
$output .= $before . '' . $post_title . ' (' . $comment_count.')' . $after;
}
} else {
$output .= $before . "None found" . $after;
}
echo $output;
} ?>

Now, wherever you want to display the popular posts list, place the following code. You can do it in the sidebar or the index.php file.

Adding a Print Button to your posts

In order to enable your users to take printouts of your posts, you can provide them with a Print button on the blog. Open up your single.php file (for individual posts) from the theme folder and add the following code wherever you want to have the Print option:-

Print this Article

I hope that you liked these WordPress hacks and also hope that they make your life easy in some way :)

Share on Facebook3Tweet about this on Twitter18Share on Google+0Pin on Pinterest0Share on LinkedIn0
  1. ????, ?????? ????, ???? ? ???????, ????? ? ???????????, ?????????? ? ?????????, ?????? ? ???????, ?????? 17 ????, ?????? ?????????? ????, ????? left a comment on June 29, 2015 at 11:44 am |
  2. Natasha left a comment on June 2, 2015 at 9:21 pm |

    I’d like to thank you for the efforts you’ve put in writing this blog.
    I am hoping to see the same high-grade blog posts from you in the future as well.
    In truth, your creative writing abilities has inspired me
    to get my own site now 😉

  3. ???????????????????? (sheet pile) left a comment on January 14, 2015 at 4:39 am |

    Thanks for sharing your thoughts about WordPress Hacks.

    Regards

  4. weed grinder left a comment on January 8, 2015 at 3:44 pm |

    Hey would you mind letting me know which hosting company you’re utilizing?
    I’ve loaded your blog in 3 different internet browsers and I must
    say this bblog loads a lot faster then most. Can you recommend a good intfernet hosting provider at a fair
    price? Thanks a lot, I appreciate it!

  5. Fred left a comment on December 17, 2014 at 10:51 pm |

    S? now we’re b?sch 800 series shx68r55uc m?ving into our second layer, and then we’re going to have to use thhe correct tool for the job.
    Step 8 ?lace the link of batterties back iht? the Makita battery pack ba?k
    to life. Where will that leave you? The?’ve got all sorts bosch
    800 series shx68r55uc of holes.

  6. Suresh Babu Gaddam left a comment on December 2, 2014 at 8:18 pm |

    I am really thankful to the owner of this site who has shared this enormous
    piece of writing at at this time.

  7. visiteurs organiques left a comment on November 21, 2014 at 1:54 am |

    It’s truly very complex in this full of activity
    life to listen news on TV, thus I just use world wide web for that purpose, and take
    the newest news.

  8. www.academiadoimportadorz.net left a comment on October 28, 2014 at 12:50 pm |

    Great article. I will be experiencing some of these issues as well..

  9. best article spinner software left a comment on October 5, 2014 at 1:04 am |

    Excellent post. I was checking continuously
    this blog and I am impressed! Extremely helpful info particularly the last part :) I care
    for such information much. I was looking for this certain info for a very
    long time. Thank you and good luck.

  10. claves minecraft left a comment on September 29, 2014 at 1:01 pm |

    ?Me encanta bastante la mayoria de la asesoria que
    escribes. Me motivaria saber de loos que mas de El presente asunto.
    Felicidades

    Hecha unn ojo y ademas visiota mi page:-? claves minecraft

  11. t shirts john cena left a comment on August 6, 2014 at 1:19 pm |

    great points altogether, you simply won a new reader.
    What might you suggest in regards to your put up that you made a few days in the past?
    Any sure?

    My webpage :: t shirts john cena

  12. cm punk and daniel bryan segment left a comment on August 3, 2014 at 6:58 am |

    Hi there everyone, it’s my first pay a quick visit at this web page, and paragraph is truly fruitful designed for me,
    keep up posting these types of articles or reviews.

    My blog; cm punk and daniel bryan segment

  13. daniel bryan on cm punk left a comment on August 2, 2014 at 2:48 am |

    Generally I do not read post on blogs, but I wish to say that this write-up very pressured me to take a look at and do so!
    Your writing style has been surprised me. Thank
    you, very great article.

    Here is my web blog :: daniel bryan on cm punk

  14. play.google.com left a comment on July 16, 2014 at 5:38 am |

    I always spent my half an hour to read this
    website’s articles everyday along with a cup of coffee.

  15. mother teresa quotes left a comment on March 12, 2014 at 5:39 pm |

    Thanks in favor of sharing such a pleasant opinion, paragraph is fastidious, thats why i have read it entirely

  16. daughter quotes left a comment on March 7, 2014 at 1:38 am |

    My coder is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about
    a year and am worried about switching to another platform.
    I have heard good things about blogengine.net. Is there
    a way I can import all my wordpress content into it?
    Any kind of help would be greatly appreciated!

  17. Prenota Ora left a comment on March 6, 2014 at 4:49 am |

    Questo sito è davvero eccellente. vi consiglio di visitare pure questo http://www.prenotaora.com, si tratta di sconti e offerte imbattibili.

  18. reputation management left a comment on November 17, 2013 at 5:24 pm |

    Outstandfing story there. What happened after? Thanks!

  19. Minecraft Premium Hacks left a comment on May 3, 2013 at 12:49 am |

    Hey There. I found your blog using msn. This is a really well written article.

    I’ll be sure to bookmark it and return to read more of your useful info. Thanks for the post. I’ll certainly comeback.

  20. farmvill cheats left a comment on May 2, 2013 at 7:22 pm |

    Hi there! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My web site looks weird when viewing from my iphone4. I’m trying to find a theme or plugin that
    might be able to resolve this issue. If you have any recommendations,
    please share. Cheers!

  21. Dvdrip left a comment on April 29, 2013 at 10:27 pm |

    interesting, I will definitely be trying these hacks out. Hopefully I can get some good use out of them!

  22. Hack Into Twitter User Accounts To Get Data Back left a comment on April 16, 2013 at 12:33 am |

    Excellent items from you, man. I’ve bear in mind your stuff prior to and you’re just
    extremely magnificent. I really like what you have obtained right here, certainly like what you are saying
    and the way in which through which you assert it. You’re making it entertaining and you continue to take care of to stay it wise. I cant wait to learn far more from you. That is really a wonderful website.

  23. Lima left a comment on December 15, 2012 at 11:59 pm |

    Super Work and very interesting one.

  24. asian girls dating,Ladies from Russian,ladies from Ukraine,Ladies from Belarus,ladies with English Speaking Skills,russian ladies 18-25,russian ladies 26-35,russian ladies over 36,best russian brides,russian girls dating,russian wives russian brides,onlin left a comment on November 28, 2012 at 1:55 pm |
  25. ?????????? ????????????, ???????????? ???????????? ??? ???????? left a comment on October 12, 2012 at 2:33 pm |
  26. Raja left a comment on October 10, 2012 at 5:07 am |

    great ! very good tips

  27. Cheap Kindle Fire HD Deals left a comment on October 4, 2012 at 2:17 am |

    Thanks for this specific advice I was basically researching all Msn in order to uncover it!

  28. aditya left a comment on September 16, 2012 at 1:52 pm |

    Great work and coding work done. Thank you very much

  29. ?????????????? ??????, ?????????????? ???????? left a comment on August 9, 2012 at 6:35 am |
  30. ?????? ???????? ??????, HD ?????? ??????, ?????? ?????? ? ??????? ???????? left a comment on August 9, 2012 at 6:10 am |
  31. Mark_Bennett left a comment on July 16, 2012 at 7:28 am |

    The concept is simple. Gravatars are user images that are displayed against your comments in the WordPress themes. As majority of the WordPress themes don’t support Gravatars, you can add them by following the instructions given in the steps as explained in this post. Check out the 10 WordPress hack techniques and enjoy blogging!

  32. ???????-????????? ????????????, ????-????????? ???????????? left a comment on May 24, 2012 at 4:42 am |
  33. Ryan left a comment on March 28, 2012 at 7:06 am |

    Very nice collection with simple code bits to implement very popular features.

  34. Wenhu wang left a comment on March 17, 2012 at 10:10 pm |

    What a great blog! |It’s pretty lucky to find your webblog!|So great!|Nice post|nice to come across your blog||||||

  35. sand mills left a comment on February 28, 2012 at 8:17 pm |

    Good wordpress,make my life great!

  36. ????? ??? ????????, ??????? ?????????, ????? ????? left a comment on February 9, 2012 at 8:51 am |
  37. pornokaif, ??????? ?????? ?? ?????, ????????????? ??????, ????? ????? left a comment on February 8, 2012 at 11:42 am |
  38. ??????? ??????, ????????????? ?????, ??????? ?????? ? ??????? ??????? left a comment on February 8, 2012 at 8:48 am |
  39. ?????,?????? ?????,????? ????????,??? ????????,????? ?????? left a comment on February 8, 2012 at 1:44 am |
  40. ??? ??????, ????? ?????, ??????? ?????, ?????? left a comment on February 7, 2012 at 9:26 am |
  41. Namit Gupta left a comment on February 2, 2012 at 4:14 am |

    Codes are not showing up. Kindly check it.

  42. ????? ?? ???????, ????? ?? ??????????, ????????????? ?????, ???????? ????? ?? ??????? left a comment on January 31, 2012 at 8:25 am |
  43. T Shirt Design left a comment on January 30, 2012 at 9:07 pm |

    Nice Tips! i will use it in my website.. thanks

  44. T Shirt Design left a comment on January 30, 2012 at 9:07 pm |

    Nice Tips! i implement it into my website.. thanks

  45. Rakn left a comment on January 27, 2012 at 9:02 am |

    Although this is an old post- but still u made my day!

  46. Dollar Mill left a comment on October 17, 2011 at 6:10 am |

    Thanks for these “hacks”. Though you can find some themes that already provide these features it never hurts some ol’fashioned php scripting and stuff. I am getting into it lately and your post provided me some useful insight.

  47. Artikelverzeichnis left a comment on October 15, 2011 at 9:29 am |

    Nice Hints for WordPress Users, thank you and keep up the good work

  48. ?????,???? left a comment on May 27, 2011 at 11:40 am |
  49. ???????? ?????????? ? ??????, ?????? ??????????? ? ??????, ?????? ????????? ? ?????? left a comment on May 24, 2011 at 9:37 am |
  50. gmat1984 left a comment on May 20, 2011 at 10:59 am |

    Oh! I found one good blog after a long time.
    Nice one.

  51. Abhi left a comment on May 20, 2011 at 10:58 am |

    Ya.. its really nice.. I like it.. Thanks

  52. sami left a comment on May 14, 2011 at 8:05 pm |

    I like the theme, thanks very much

  53. sitereviews left a comment on February 10, 2011 at 10:21 pm |

    Very nice collection with simple code bits to implement very popular features.

  54. remove acne scars left a comment on February 2, 2011 at 4:42 am |

    Really useful tools.
    The print button is frequently used.
    Thanks for sharing your knowledge!

  55. Graphic Designer left a comment on November 10, 2010 at 8:51 pm |

    Absolutely Brilliant, thanks for sharing.

  56. Danny left a comment on September 3, 2010 at 10:23 am |

    Great wordpress hack. Thanks for sharing it mate :)

  57. pheromones left a comment on August 27, 2010 at 7:16 am |

    The CSS image gallery code help me a lot. Thanks!

  58. ps4 left a comment on July 11, 2010 at 1:26 pm |

    thanks for this! Makes my life so much easier

  59. Shubert left a comment on July 9, 2010 at 5:11 am |

    Very interesting tips. Thanks :)

  60. Ovais left a comment on July 7, 2010 at 1:16 am |

    These are the basic tips which every wordpress blog owner should know …thanks for sharing with us..

  61. prepaid handy tarife left a comment on June 26, 2010 at 12:54 am |

    I created a new wordpress site and I don’t have a good design yet. But I hope your tutorial will help me a bit, but it looks complicated for a beginner like me.

  62. Hot Girl Doing It left a comment on June 21, 2010 at 11:48 am |

    What a great post. Thanks for the tips. I should be able to make my blog look better using these. Are there plug-ins for this stuff?

  63. playstation 4 cheap left a comment on June 5, 2010 at 1:12 am |

    interesting, I will definitely be trying these hacks out. Hopefully I can get some good use out of them!

  64. Tioman left a comment on May 8, 2010 at 11:39 am |

    Well I can say that your tutorial here just brighten my life today.. Thanks a lot! a lot of helpful stuff in this post :)

  65. way2templates left a comment on April 25, 2010 at 1:22 pm |

    This is perfect! lots of helpful stuff. Have stumbled.

  66. pheromones left a comment on April 13, 2010 at 12:38 pm |

    Wow, thanks a lot. This really helped me to configure my settings a little better. Much appreciated!

  67. Josh left a comment on March 7, 2010 at 10:57 am |

    @Dear Socrates:- displaying gravatars provides a more personal feel to your blog, letting readers have their picture rather than the generic one you choose. It may not make your life easier, but it is a great usability feature.

    Having a subscribe to feed button under each of your posts gives the reader a quick and easy way to get updates from your site.. if I have to explain how that makes your (and the reader’s) life easier, than you’re just an idiot.

    A lot of people use Twitter, a lot of people are interested in what their favorite bloggers are saying and doing on Twitter.. hence the relevance

    and placing ads on your blog is a great way to generate revenue to keep the site going..

    was that a sarcastic post, or are you really that dense?

    Good article with a lot of simple tutorials that often escapes the attention of developers.

  68. Vinod Srinivas left a comment on February 21, 2010 at 2:02 pm |

    Hello Jai, this is an interesting post. I usually tell my designers to prepare all this, but your post made things so much clearer. Good stuff!

  69. Dear Socrates left a comment on February 6, 2010 at 5:25 pm |

    How’s “Displaying Gravatars” gonna make my life easier working with wordpress?
    “Subscribe to Feed”? Twitter? Ads?

    You gotta be kidding me, this is just a pile of shitty over-used mini-tutorials, and a plugin or two.
    No real info.

  70. TheShadow left a comment on February 3, 2010 at 4:01 am |

    finally i got lot of stuffs for my wordpress blog.Thankyou.

  71. ???????? left a comment on January 2, 2010 at 4:34 am |

    Thank This Useful t tutorial

  72. Nikunj Tamboli left a comment on December 26, 2009 at 4:14 am |

    Thanks man great tutorial finally found out lots of useful stuff at one place

  73. Shubham left a comment on December 25, 2009 at 12:52 am |

    hey..i was wondering how the AD box is placed and thanks to you…! Made my work easier..!!..can you give how can i add a 2 column add in the sidebar..!!..125×125..!! Thanks.!

  74. Ryan left a comment on December 19, 2009 at 12:35 pm |

    Brilliant piece on how to display the most commented posts. Thank you!

    I like to keep my template files clean, so I recommend that others place this function in their functions.php file (create this file if it does not exist for your theme). It works just fine outside of the header template.

  75. ana left a comment on December 17, 2009 at 12:46 am |

    HI I would really appreciate if someone would give me a code for dreamweaver to build a comment box like this one!! Please let me know babyanaa@aol.com Thanks and merry xmas

    Ps. am using Dreamweaver cs4 and my host is godaddy

  76. mitch left a comment on December 16, 2009 at 2:23 am |

    Nice job.. great list.

  77. neel left a comment on December 14, 2009 at 5:07 am |

    Excellent tricks. I will keep this link in my bookmark for future developments.

  78. Rosastef left a comment on December 8, 2009 at 11:12 am |

    Very nice collection with simple code bits to implement very popular features. Great read!

  79. Rajesh Kanuri @ TechCats left a comment on December 8, 2009 at 4:58 am |

    this series poves to the best and excellent collection of tips

  80. bboy left a comment on December 2, 2009 at 10:39 pm |

    WoW!!! Thank you !

  81. Alessio left a comment on November 24, 2009 at 11:31 am |

    Nice Hacks, thank you!

  82. Zack left a comment on November 4, 2009 at 6:14 pm |

    Great codes, especially Most Commented Posts. It’s very clever to re-counted comments by the comment_post_ID. I didn’t thought about this.

  83. Tricyclic Antidepressants left a comment on October 5, 2009 at 8:51 am |

    Very interesting article and very good blog. Very much interested to know)
    I will add this blog to RSS Reader

  84. megan fox left a comment on September 11, 2009 at 9:51 am |

    Sign: umsun Hello!!! rcuwwymhyw and 3544ssgfhphzye and 9009I love your site. :) Love design!!! I just came across your blog and wanted to say that Ive really enjoyed browsing your blog posts.

  85. sandrar left a comment on September 10, 2009 at 12:43 pm |

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

  86. voteupindia.com left a comment on August 31, 2009 at 8:43 pm |

    Hey thanks it was Useful post.

  87. Tram Giang left a comment on August 4, 2009 at 2:06 am |

    Thanks for nice tips and shall take a test on my site.

    Regards
    TG

  88. Shane Strong left a comment on July 13, 2009 at 6:52 pm |

    Hey thanks for the info really helped me with my new theme.

  89. Kaobear left a comment on July 12, 2009 at 11:34 am |

    Been looking for that RSS tip for a while now. Used to be a big thing, people don’t remember it though.

  90. Waqas Lone left a comment on July 1, 2009 at 6:49 pm |

    awesome post man…i will definitely apply this to my site…thanks!

  91. Richard left a comment on May 29, 2009 at 6:30 am |

    It is very useful :)

  92. Info Usaha left a comment on May 13, 2009 at 12:40 am |

    Awesome ! Thanks

  93. Todor Rangelov left a comment on May 11, 2009 at 6:39 am |

    Hi i need a function like yours Displaying most commented (popular) posts.

    But i need most comented posts for current category. I avaery categori i retrieve a list of all posts in this category how to order them by comment count?

    Any help an ideas?

  94. Garreth Wilcock left a comment on April 2, 2009 at 3:20 pm |

    This is a great head start on making my blog take advantage of the power of PhP. A fantastic resource!

  95. hindusthanjobsdd@gmail.com left a comment on March 23, 2009 at 1:07 pm |

    thank you for your great post!

  96. afiszone left a comment on March 22, 2009 at 12:05 am |

    Good Info, I’am try on my blog

  97. mirc left a comment on March 9, 2009 at 5:16 am |

    Very nice hacks here…very helpful
    Thanks a lot…

  98. Veronica left a comment on February 8, 2009 at 5:36 pm |

    Hi. In the right light, at the right time, everything is extraordinary.
    I am from Eritrea and learning to speak English, tell me right I wrote the following sentence: “Learning proper introductions not only enhances your business savvy but boosts your self confidence.”

    Best regards :-), Veronica.

  99. Aziza left a comment on January 4, 2009 at 6:29 pm |

    WOW thanks you so much for sharing his excellent tips. I’m still learning .I’m feeling very excited.:)

  100. Beijing left a comment on December 25, 2008 at 4:04 am |

    I like this site!

  101. Dexter | Tech At Hand Dot Net left a comment on December 25, 2008 at 2:49 am |

    Nice hack it works at my site :)

  102. ikapeng left a comment on December 25, 2008 at 1:58 am |

    this excellent tips.
    thanks.

  103. vixion left a comment on December 23, 2008 at 10:06 pm |

    nice hack…. i will try the ads banner

  104. PS4Guru left a comment on December 18, 2008 at 1:46 am |

    Very nice hacks here…very helpful
    Thanks,

  105. Colin Jensen left a comment on December 8, 2008 at 9:13 pm |

    Thank you!

  106. Baldraiff left a comment on November 26, 2008 at 8:54 am |

    hi there!
    I made with photoshop glitter myspace pictures.
    take a look at them:
    http://tinyurl.com/5pde2x
    Thank you for your website 😉 xxoxo

  107. Dr.Souvik Maitra left a comment on November 24, 2008 at 1:32 pm |

    great tips…..really helpful.

  108. laptopgarden left a comment on November 23, 2008 at 11:24 am |

    wow its a nice tips! thanks

  109. brillie left a comment on November 16, 2008 at 9:15 pm |

    wow.. this is really cool!!!!

  110. Premium Wordpress Theme left a comment on November 12, 2008 at 2:51 pm |

    Great List, Ive always loved this site.

  111. Gutscheincode left a comment on November 7, 2008 at 2:26 am |

    i’m really thank you for the great Information.
    This is what i really want for my Blog.
    thanks again! Keep Posting!

  112. blogano left a comment on November 6, 2008 at 2:34 am |

    excellent tips

  113. ich left a comment on November 5, 2008 at 9:07 am |

    @BoyGJ.COM:-
    what about?

  114. Alek left a comment on October 10, 2008 at 8:22 pm |

    This is perfect! lots of helpful stuff. Have stumbled and will certainly be back!

  115. bbrian017 left a comment on October 8, 2008 at 1:41 pm |

    wow I have added this page to my favs I wouldn’t mind doing a few things mentioned here including the member bio!

    Nice hack thanks man

  116. devSoft.Mobi left a comment on October 5, 2008 at 9:32 pm |

    Thank you very much !
    Great WordPress Hack

  117. giuseppemartone left a comment on October 4, 2008 at 7:59 am |

    Davvero un elenco molto molto utile per chi vuole implementare al meglio il proprio blog! Grazie mille!

  118. Markus Zilgalvis left a comment on October 3, 2008 at 11:46 am |

    @Chada:- But what if you would like to modify the printed pages layout or something… ? This print button would be quite usefull.

  119. JoBru left a comment on October 3, 2008 at 7:18 am |

    ????????

  120. kkk left a comment on September 28, 2008 at 7:30 am |

    @goblogging:- yeah great

  121. mIRC left a comment on September 24, 2008 at 5:53 am |

    Thank you

  122. elf_fu left a comment on September 16, 2008 at 1:55 am |

    Thank you very much, Jai! I have always wondered how to do a lot of the things which you have listed off here, and this post clarifies everything in an easy and great manner to follow!

    Appreciate it very much!

  123. suicidalsam left a comment on September 12, 2008 at 6:40 pm |

    wow, I found the hack I was looking for after a very long time. I have been wonder how to place 125 banner ads on my sidebar and this post of yours really helped me out and it is very easy to do. thanx again.

  124. ilan left a comment on September 11, 2008 at 11:56 pm |

    @ilan:- thanks again

  125. ilan left a comment on September 11, 2008 at 11:56 pm |

    Thanks! Those are great tools. I’m sure I’ll use it in my blog I’m working on.

    Ilan

  126. Kudungga left a comment on September 11, 2008 at 7:34 am |

    thanks a lot for sharing. Good luck for you

  127. Tinh left a comment on September 10, 2008 at 8:42 pm |

    Great hacking tips. I would like them all. T

  128. Rakibul Islam left a comment on September 7, 2008 at 9:11 am |

    Nice tips, these really helped me, specially the category and archive drop down .

    Thanks

  129. dynn left a comment on September 6, 2008 at 3:00 pm |

    Thanks for this tutorial…its very helpful.

  130. tmdesigner left a comment on September 6, 2008 at 7:28 am |

    Pagina molto interessante..Word Press is the Best

  131. Shanker Bakshi left a comment on September 4, 2008 at 10:43 am |

    Most Commented post heck – NOt working – Donno why? ( added the word “function” before the code. )

  132. Edi Susanto left a comment on September 4, 2008 at 9:23 am |

    Thanks for sharing those great tricks. Inspire by trick put category list into drop down, how do I put my tag list into a drop down?

    Thanks for helping….

  133. Detoam left a comment on September 4, 2008 at 8:24 am |

    Excellent tips. Thank You.

  134. Team Nirvana left a comment on September 2, 2008 at 9:58 pm |

    Thanks for conglomerating the details at a single point and presenting to us. I would also request you to post about any plugin which would enable the wordpress users/readers to download the post as a PDF file.

    Thanks for the support.

  135. Richard left a comment on September 1, 2008 at 9:03 pm |

    Very interesting and helpful. Thanks,

  136. Samir left a comment on September 1, 2008 at 10:23 am |

    Hi Jai,

    Very good tutorials mate lovd them keep them coming :)!!!

    lots of love,
    Sam.

  137. ck left a comment on September 1, 2008 at 3:56 am |

    How do you alterin the $no_posts variable in the code?

  138. April Hollands left a comment on September 1, 2008 at 12:20 am |

    Thank you thank you thank you!! I finally have Gravatars working thanks to your very easy-to-follow steps (if only WordPress.org has such user-friendly documentation).

  139. Young left a comment on August 31, 2008 at 10:49 pm |

    @Young:-
    there are some wrong words in my previous comments, sorry and will be more careful next time. Look forward to your advice.

  140. Young left a comment on August 31, 2008 at 10:46 pm |

    @Jai, regarding the Displaying most commented (popular) posts, i copied the code and did as you said and published a post on my bog, there is no problem for the post look, but there is a big problem with the RSS Feed–it is impossible to open the feed site on IE :
    http://www.essentialblog.cn/feed/,

    but it is OK on Firefox.

    I think the there are some mistakes in the code, would you please give me some advise how to fit it?

  141. vitiligo left a comment on August 31, 2008 at 10:57 am |

    This is very informative tutorial I will apply it on my blog.
    Thanks for providing such great info.
    Thanks

  142. Mike left a comment on August 31, 2008 at 9:06 am |

    Nice work…

  143. Sofhal Jamil left a comment on August 31, 2008 at 4:12 am |

    Tks for your information. Salam.

  144. Charl left a comment on August 31, 2008 at 3:21 am |

    This is great! I am beginning a web project soon for a photo gallery and your tips here would come really handy. Many, many thanks!

  145. Renis left a comment on August 30, 2008 at 3:07 pm |

    Thanks Mr Jai, great tips

  146. imcw left a comment on August 30, 2008 at 6:44 am |

    Thanks for the info

  147. canarygirl left a comment on August 30, 2008 at 3:27 am |

    Thank you so much for this! :)

  148. F. S. KAMAL left a comment on August 30, 2008 at 1:39 am |

    Thanks for sharing this usefull information. Anything else in store ?

  149. sexydinosaure left a comment on August 29, 2008 at 7:57 pm |

    I really like this post. Thanks for your feed.
    Have a nice week.
    Lki

  150. Website Design left a comment on August 29, 2008 at 2:37 pm |

    This is exactly why I like wordpress so much. You can edit / hack it up, etc without anyone getting angry. It’s awesome.

  151. Mike left a comment on August 29, 2008 at 12:15 pm |

    Thanks very much! Just coded gravatars into my wordpress site using your guide.

  152. Dror left a comment on August 29, 2008 at 11:13 am |

    Thank you very much !
    I’ll use the print button from now .
    Dror

  153. The Floating frog left a comment on August 29, 2008 at 9:15 am |

    I used the Gravatar hack, thanks mate

  154. Bryan left a comment on August 29, 2008 at 8:09 am |

    @Bryan:-
    Sorry this was meant for the DailyPress comments. :)

  155. Bryan left a comment on August 29, 2008 at 7:04 am |

    I love the theme. Can anyone tell me how to add who submitted the post. I have a blog with multiple author but dailypress doesn’t show who submitted the post.

  156. Yan Shall Blog left a comment on August 29, 2008 at 4:02 am |

    @Jai:- Thanks, Jai. Appreciate your help..

  157. Harmony left a comment on August 29, 2008 at 3:30 am |

    @Jai:-

    Thanks so much, Jai! It worked like a charm!

    xx

  158. Jai left a comment on August 29, 2008 at 3:04 am |

    @Harmony:- This is the code to use to display Gravatars for post authors :-

    < ?php echo get_avatar( get_the_author_email(), '80' ); ?>

  159. Jai left a comment on August 29, 2008 at 3:02 am |

    @Yan Shall Blog:- I forgot to add the word “function” before the code. Please copy it again and try.

  160. Harmony left a comment on August 29, 2008 at 2:52 am |

    Hi Jai,

    Any idea how to show gravatars for post authors?

    And, as always, another great post!

    Thanks,
    Harmony

  161. Yan Shall Blog left a comment on August 29, 2008 at 2:33 am |

    What a great collection of hacks! I attempted to add the most popular post but encountered this error

    Parse error: syntax error, unexpected ‘{‘ in /home/……/public_html/wp-content/themes/sketchd/header.php on line 67

    What could be the problem? I have added the code to my header.php and the php code on my footer.

    Appreciate your guide on this. Thank you…

    Yan

  162. Manish Mohan left a comment on August 29, 2008 at 2:02 am |

    Can you also provide code for showing Author names in the side bar along with the number of posts by each author? I manage a team blog and it would be great to have this. Each name could hyperlink to the posts by that author.

    Authors
    name1 (#)
    name2 (#)

  163. adi left a comment on August 29, 2008 at 1:39 am |

    great work jai. thx so much. currently i’m looking for these tutorials

  164. hamdan left a comment on August 28, 2008 at 10:59 pm |

    Cool hacks! These features would be very useful for my site. Thank you :)

  165. Mike left a comment on August 28, 2008 at 10:50 pm |

    These are fantastic. Thanks Jai…

  166. Pinara.Net left a comment on August 28, 2008 at 10:49 pm |

    Thank you, this is nice hack

  167. BoyGJ.COM left a comment on August 28, 2008 at 10:23 pm |

    Learning…

  168. Dgold left a comment on August 28, 2008 at 6:56 pm |

    I used 2 of the tips. I used your code to make my old theme compatible with the new WP galleries. I’ve put in the code, now I am going to upload pictures and try to post a gallery. I hope it works!

    Next I used your Twitter calling code. Easy enough, I put my latest Twitter message right beside where I already had a Twitter chiclet.

    Luckily Twitter warned me to put the “script call” in my WordPress Footer. That way, if Twitter happens to be down for the day, my page will still load.

    On your Print tip, I think the thing that’s missing is a printable stylesheet. A lot of times the regular webpage, with ads and colors and borders, is too much to print. I use Gamerz’ WP-Print plugin for this.

  169. Geoserv left a comment on August 28, 2008 at 5:48 pm |

    STUMBLED!

    Good tips, gonna do the RSS feed one.

  170. Youseph Tanha left a comment on August 28, 2008 at 5:13 pm |

    Very Helpful. Thank You

  171. Kartik Talwar left a comment on August 28, 2008 at 3:55 pm |

    Thanks a lot, ususally you can find them is themes but a list for them is good too

  172. Ant Harper left a comment on August 28, 2008 at 10:22 am |

    I have already implemented some of these on my blogs via plugins, but to be able to edit the code yourself is always useful. Thanks for the article!

  173. Ian Blackford left a comment on August 28, 2008 at 10:11 am |

    A friend of mine is really happy with his theme but it doesn’t show gravatars in the comments, I just pointed him at this post. Thanks for the great tips.

  174. PT left a comment on August 28, 2008 at 9:37 am |

    Thanks, Jai. Great tips.

  175. Excel left a comment on August 28, 2008 at 9:26 am |

    @styletime:-

    Col!

  176. Rob left a comment on August 28, 2008 at 9:01 am |

    Have to agree with Chada, The Print This article prints the entire page.

  177. Chada left a comment on August 28, 2008 at 8:43 am |

    nice work!

    I think that the Print Button is not necessary because that there is already a Print selection in the browses’ File list.

  178. Jeremiah left a comment on August 28, 2008 at 8:42 am |

    Thanks for the information. I’ve implemented a few of these things into my blog.

  179. Web Marketing Blog left a comment on August 28, 2008 at 8:29 am |

    Really useful tools.
    The print button is frequently used.
    Thanks for sharing your knowledge!

  180. ArtHack left a comment on August 28, 2008 at 6:49 am |

    Thank you, the learning

  181. styletime left a comment on August 28, 2008 at 4:32 am |

    Thanks just restyled my comments a bit more!

  182. goblogging left a comment on August 28, 2008 at 1:06 am |

    Great!! :) thank you very much. It’s really useful, a blogger should know about this trick.

  183. Manish Mohan left a comment on August 28, 2008 at 12:03 am |

    Brilliant!!! Thank you. Great post to save and keep referring to every now and then to tweak my WordPress blog. Keep it up!

Leave a Comment

Your email address will not be published. Required fields are marked *

What Others Say

BannerJai was awesome to work with. A port of an ASPX/HTML site to Wordpress went seamlessly, and his recreation of our look and feel were fantastic - Kevin Webster

BannerJai is a talented, creative and an enthusiastic web developer who has worked consistently to deliver high quality websites for my businesses - James Eccles

  •   Let’s Talk

    "Thank you for visiting my website! In order to start a project with me, please send me information on your project so I can figure out how best to help you."

    "After your initial contact, I’ll schedule a quick one-on-one session via Skype to review the project and get to know you."
     Request a Quote
  Have Questions?   Hire Me

Send Me Your Questions

Tell Me About Your Project