Recent News
Copyright © 2014 THAT Agency . All Rights Reserved.
410 Evernia Street, Suite 118, West Palm Beach, FL 33401
Tel: (561) 832-6262 | Fax: (561) 832-7707

WordPress hacks you can actually use

25 Sep WordPress hacks you can actually use

Lately I have been on this wordpress theme kick. I have created a couple of new themes currently in the process of being added to the wordpress themes section. And since I never really worked with wordpress too much, I spent some time looking at “how to’s” and other peoples theme development. Some I found great, some I didn’t. All in All the power of wordpress is amazing and with that being said, I decided to put a little list together. A small roundup of some hacks and enhancements that I found useful and hopefully you do too.

Adding Author Avatar to posts

the ’55’ is basically the width. So you can change that to what you want according to your design.

Adding User Comment Avatars

the ’40’ is basically the width. So you can change that to what you want according to your design.

Highlight Admin Comments

Replace this:

<li id="comment-">

For this:

<li class="user_id == 1) $oddcomment = "authorCommentBox"; echo $oddcomment; ?>">


.authorCommentBox{ background-color: #ecf584 !important; }

Simple Social Network Links

Had some issues with the title of the post including


and such, so wrote something quick to handle that Plus creating a URL on the Fly for the post:

/* usage */
//$short = make_bitly_url('','USERNAME','API-KEY','json');
//echo 'The short URL is:  '.$short; 
// returns:

Add This:

<a href="  ">Twitter
<a href="">Facebook
<a href="">
<a href="" rel="external">Digg
<a href="" rel="external" title="StumbleUpon">StumbleUpon
<a href="" rel="external" title="Technorati">Technorati
<a href="">Script&Style

Using Normal Quotes Instead of Curly Quotes

Add this to your functions.php (If you don’t have one, then create one.)


Display Feedburner Subscriber Count

via (wprecipes)

	echo $rsscount;

As you can see, wordpress offers a wide variety of integration to customize your own theme. This list is just the tip of the iceberg. There are so many other things, that wordpress is able to do.

Do you know of any more? Let me know.

  • Sarah
    Posted at 18:04h, 29 September

    I’m about to create my first WP theme and this was very helpful. Thanks!

  • amir
    Posted at 00:15h, 09 March

    very useful tips. thanks for posting rich. I’m trying a couple of these hacks out tomorrow :)

  • nyu film school
    Posted at 10:29h, 04 October

    Great articles, this is undoubtedly a great resource for all of us WordPress blog end users! All of the fantastic totally free as well as premium themes ensure it is super easy to give full attention to creating a good blog along with great information.