6 ways I customized my WordPress blog theme and how

WordPress Thesis Theme tips

After my article yesterday, I got a couple of questions about the different customization I did on my Thesis. In this article I will include the 6 blog design additions I did on top of the default options of the WordPress Thesis theme.

If you want more WordPress Thesis info, see my video review of latest Thesis version and see even more Thesis design tips.

I forgot to mention earlier but when you buy Thesis WordPress theme you get access to the member’s forum. There you have different users posting customization they made on their blogs, that is where I get most of my design ideas from and that is where the credit for the following customization goes.

Two files you need when customizing Thesis blog theme are located in the “custom” folder: custom.css and custom_functions.php. Nothing else is needed. Simply copy/paste my codes into the file, wherever in the file you want, and save.

Place menu underneath header

Thesis comes with the menu above header look as default. I have changed that to have my menu placed underneath the blog header. Simply put this code into your custom_functions.php file:

remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_header', 'thesis_nav_menu');

Put a clickable image in your header

As I explained before your blog header is the most prominent feature on your blog and it is very important to have unique image to brand your blog with. That is why I have decided to have a blog header image instead of the default blog title option.

You need to upload your header image to /Thesis/Custom/Images folder on your server. Then place this code in your custom.css file (remember to insert your file name and the file height / width):

.custom #header #logo a { display: block; height: 180px; width: 800px; background: url('images/IMAGE-FILE-NAME') no-repeat; outline: none; }
.custom #header #logo, .custom #header #tagline { text-indent: -9999px; }
.custom #header #tagline { height: 0; }
.custom #header {border-bottom:none; padding:0}
.custom #header { padding: 0; }

Place your avatar beside each post

Having your avatar show next to each post you write is a good way of branding yourself. You can for example use the same avatar as you use as your Gravatar or same  avatar you use as your Twitter profile picture. This way you get the total and consistent branding. Insert this code into your custom_functions.php file (remember to insert the URL of your avatar – image size 50×50 works best):

function author_avatar() {
if (is_single()) {
echo '<img src="IMAGE-URL-HERE" alt="" class="title-avatar" />';
}
}
add_action('thesis_hook_before_headline', 'author_avatar');  

And this code you have to insert in your custom.css file:

.custom .title-avatar {float:left; width:5em; margin-right:1em;}

Customize Twitter field in your comments

As I spend time on Twitter and use it for promotion of my blog, I included the Twitter username field in my comments and customized it for a clean and simple look on Thesis. What you need to do is install WP TwiTip ID plugin, activate it and put this into your custom_functions.php file:

function custom_Twitter_ID() {
if(function_exists(wp_twitip_id_show)) {
$atf_id= wp_twitip_id_show("return");
if($atf_id){
echo '<p>Twitter: <a rel="nofollow" href="http://twitter.com/',$atf_id,'">@',$atf_id,'</a></p>';
}
}
}
add_action('thesis_hook_after_comment_meta', 'custom_Twitter_ID');

Have a prominent sponsor spot below content

I used to have Google Adsense block between my content and comments, but because of inefficiency I decided to do something different. Now I have a very prominent and eye-catching block there and I plan to make announcements or put my recommendation messages there.

This has to be done in two steps, first step in custom_functions.php and second step in custom.css. Insert this into custom_functions.php (remember to customize your own message):

function thesis_promo() {
if (is_single()) {
echo '
<div class="promobox2">
<h3 align="center">HEADLINE HERE</h3>
<p>YOUR MESSAGE HERE</p>
</div>
<br />
';
}
}
add_action('thesis_hook_after_post', 'thesis_promo');

And this code you have to insert into your custom.css file (you can customize it by including different colors, borders etc):

.custom div.promobox2 { border-top: 6px solid #2361A1; border-bottom: 6px solid #2361A1; background-color: #CCE1F5; color: black; padding:1em; margin-bottom: 0.5em;}
.custom div.promobox2 H3{ margin-top:0em;}
.custom div.promobox2 a:hover img {border:3px solid #bebebe;}
.custom div.promobox2 a img {border:3px solid #CCE1F5;}
.custom div.promobox2 img {padding: 0px; }

Prominent popular posts in the sidebar

I have done some customization to get the popular posts to be more prominent and eye-catching in the sidebar. What you need to do is you have to install Popular Posts plugin and activate it. In Appearance - Widgets put the “Popular Posts” widget into your sidebar. In “Format of the links” field place this:

<div class="callout"><a href='%post_permalink%' title='%post_title_attribute%'>%post_title%</a></div>

In your custom.css file place this code (you can customize it with different color and border):

.custom li.widget .callout { padding: 0.846em; line-height: 1.385em; background: #e3f0f2; border: 0.077em solid #addde6; }

I hope this gives you some ideas on how easy it is to customize Thesis theme and helps you customize it and make it your own. Did you do any Thesis customization yourself? Why? How? Feel free to share your experience in the comments.

If you want more WordPress Thesis info, see my video review of latest Thesis version and see even more Thesis design tips.

StumbleuponDelicious

Join thousands of bloggers and get all my blogging tips for FREE! Subscribe to HowToMakeMyBlog via RSS or via e-mail.

If you liked this article, you may also like:

  • How to create a sales letter landing page with WordPress Thesis Theme
  • 8 Thesis theme design tips to make your blog better
  • 6 simple but cool Thesis theme WordPress design tips
  • How to get magazine style WordPress blog with Thesis Theme teasers
  • Thesis Theme 1.6 Video Review – See what Thesis can do now
  • Post written by Marko Saric on January 30, 2009 in Popular Articles, Thesis Theme

    { 12 trackbacks }

    links for 2009-04-23 | girliegeek
    April 23, 2009 at 8:02 am
    Finally,Realtrix shifts to Wordpress and becomes SnapHow.Com !
    May 6, 2009 at 3:07 pm
    100 Resources for Thesis Wordpress Theme Users | MattFlies.com
    May 26, 2009 at 9:27 am
    27 Links to help you with Thesis — Serradinho
    May 26, 2009 at 8:00 pm
    Why I Like Thesis and WordPress
    June 11, 2009 at 2:52 am
    I Upgraded to Wordpress Thesis Theme | Passive Income Online: Lis Sowerbutts
    July 6, 2009 at 3:10 am
    100 Tài nguyên hữu ích cho người sử dụng Wordpress Thesis Theme | GIẢI PHÁP SỐ
    July 6, 2009 at 7:17 am
    How I Customized my Thesis Wordpress Theme | Cho Toan dot Com
    August 2, 2009 at 1:29 pm
    100 resources for users of the excellent Thesis Theme for Wordpress
    August 5, 2009 at 4:45 pm
    100+ Thesis Theme Resources | Cho Toan dot Com
    August 6, 2009 at 3:58 am
    100 Tài nguyên hữu ích cho người sử dụng Wordpress Thesis Theme | TinhYeu.Mobi
    September 27, 2009 at 2:18 am
    250+ Thesis Theme Resources | Sahil Kotak dot Com
    December 8, 2009 at 7:35 pm

    { 108 comments… read them below or add one }

    1 Michael June 10, 2009 at 2:13 pm

    Thanks Marco — will go and play some more.

    Reply

    2 John June 24, 2009 at 7:52 am

    Hi Marko

    I have more than 2 admin posters for my blog. May I know how can i setup the “Place your avatar beside each post” such that different administrators will have different avatars by the posts they wrote.

    Thank you

    Reply

    3 Bayu Aditya June 27, 2009 at 3:56 am

    For the avatar beside each post, how if the blog has 2 or 3 authors? how to set the avatar?

    Reply

    4 ferdinandemy July 24, 2009 at 3:02 pm

    hello marko,

    Words cannot express how grateful i am with your thesis customization tips, thanks a lot

    Reply

    5 Caleb September 10, 2009 at 1:33 am

    Hi Marco,

    When I uploaded the Wordpress.com Stats plug-in and installed the css code on my thesis theme no posts appeared. I migrated most of my posts on a new domain. Is this the reason why?

    Reply

    6 Marko Saric September 10, 2009 at 8:12 am

    You need the “Popular posts” plugin as well, and you need to insert the widget into the sidebar. As soon as the first visitor comes to your blog, pages will start to show in the sidebar.

    Reply

    7 Caleb September 22, 2009 at 4:46 am

    Hey Marko!

    Is there a way to change the link of a clickable header?? I do have mine but am practically combining two blogs in one but both headers have to point to the same site.

    Thanks,

    Caleb

    Reply

    8 emas batangan September 26, 2009 at 3:01 pm

    That’s good explanation, thanks for the lesson very much.

    Denis

    Reply

    9 ravi September 27, 2009 at 5:23 pm

    One of the things I like about coming here is that you are always willing to share what you have learned or know. I’m not a Thesis user, but I may be one day. Even so, the article is informative and it’s interesting to see the process that goes with the design changes.

    Reply

    10 Dave October 2, 2009 at 10:07 pm

    Marko,
    Fantastic tutorials. Unfortunately, I’m brand new to Thesis, WP, etc.

    Can you elaborate on the instructions below – particularly about how to find the “custom_functions.php file”

    I’m not sure where to find it. Sorry if this is a dumb question.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Place menu underneath header

    Thesis comes with the menu above header look as default. I have changed that to have my menu placed underneath the blog header. Simply put this code into your custom_functions.php file:

    remove_action(‘thesis_hook_before_header’, ‘thesis_nav_menu’); add_action(‘thesis_hook_after_header’, ‘thesis_nav_menu’);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    best,
    Dave

    Reply

    11 Marko Saric October 4, 2009 at 9:15 pm

    Thanks Dave! custom_functions.php file is in your Thesis files. Go into the Custom folder to find it.

    Reply

    12 Hesham October 22, 2009 at 10:58 am

    Hello Marko, I am really thankful for your great posts about Thesis theme, i have managed to customize a new blog and got lots of help here!

    I have a question regarding the author avatar, my blog is going to a be multi-author blog, and my question is: Is there is simple way to get the author ID then post the avatar of him/her depending on that ID?
    thanks a lot in advance.

    Reply

    13 Hesham October 22, 2009 at 11:12 am

    Hey Marko, sorry to bother again, i have made some modifications, and it works :) so I thought to post the code here if you don’t mind!

    /* Add author avatar */
    function author_avatar() {
    if (is_single()) {
    echo ”;
    echo get_avatar( get_the_author_email(), ‘48′ );
    echo ”;
    }}
    add_action(‘thesis_hook_before_headline’, ‘author_avatar’);
    /* end of author avatar */

    Reply

    14 Marko Saric October 22, 2009 at 12:21 pm

    Great Hesham, thanks for that, I am sure some bloggers can use it.

    Reply

    15 Rajesh Kanuri November 18, 2009 at 12:38 pm

    Thanks for the tips..

    Reply

    16 Charlie Drozdyk December 4, 2009 at 7:37 pm

    Hi Marko,

    Thanks so much for this. BUT, I did what you said on how to install Popular Posts and it’s not appearing on my site. Is there something I’m missing at the end, like activating it in Options of Design Options or something? Thanks for your help!

    Reply

    17 James Devine December 16, 2009 at 12:07 pm

    Does anyone know how to customise the comment box or the submit button on thesis? Many thanks in advance.

    Reply

    18 Tilly-Miss December 16, 2009 at 1:40 pm

    Great info which looks very good,i am only basic skills and wonder if you could help me sort the changes for tilly-miss.

    Reply

    19 Sam January 1, 2010 at 4:11 pm

    Thanks for all your great tips.

    I really liked the promo box idea. I have been wanting something like that for a while.

    I got the custom.functions php correct. I see my text there after the post. However, the css I copied and pasted did nothing. I still have just the drab text – no box, no color, no formatting at all.

    Any thoughts on what might be amiss? Thanks for anything you can offer.

    Oh, Happy New Year.

    Reply

    20 Andrea Kalli January 5, 2010 at 6:13 pm

    Hi Marko,

    I don’t suppose there’s a way to change the location of where the clickable header goes to? Instead of it automatically going to the blog’s homepage, I would like it to go to a different url.

    Is that possible?

    Thanks in advance,
    Andrea

    Reply

    21 @donpower January 5, 2010 at 7:33 pm

    I was wondering about this too. But can you have the header go to say, an ABOUT PAGE when it gets clicked on the HOME PAGE and have it go to the HOME PAGE when it’s clicked everywhere else?

    - Don

    Reply

    22 Marko Saric January 5, 2010 at 7:41 pm

    Hi Andrea and Don,

    Not sure about that really. The way I’ve described, the header just replaces the “title” that usually is text only so it just clicks wherever the title did. Not sure how you would be able to change that unfortunately..

    Reply

    23 Andrea Kalli January 5, 2010 at 8:08 pm

    Thank you anyway, Marko.

    I truly appreciate the information you post and how you always share what you know. So very valuable!

    Take care and Happy New Year!
    Andrea

    Reply

    24 Malhar @ MyTFace January 15, 2010 at 8:02 pm

    This is really a good tutorial. You can see these changes on my blog.

    Reply

    25 Gianpaolo Pietri | The Optimalists January 30, 2010 at 5:19 pm

    Great tutorial. Thanks.

    I switched over to the Thesis Theme about two months ago, and have consistently relied on your great tips in order to get it to where it is today. I went with an extremely minimal design because it goes with the content I am posting, but I could not have gotten it to where it is today without your tips. I have literally used most of them, including tips on plugins, design, SEO optimization, etc. etc.

    I am consistently getting compliments on the look and feel of it. Perhaps even more than the content. Ha! It’s usually the thing readers and other bloggers comment on first.

    Thanks.

    Reply

    26 Tricia Meyer January 31, 2010 at 4:58 am

    Thanks for the great ideas! I’m new to customizing and I am on a roll now after reading some of your posts.

    Reply

    27 Nismion February 3, 2010 at 11:56 pm

    Thx for this tipps. Easy but the change of the look. I will go on soon ppost them in german language and send you a backlink.

    Reply

    Leave a Comment

    Previous post:

    Next post:

    Marko Saric on FacebookMarko Saric on TwitterMarko Saric on YouTubeHowToMakeMyBlog RSS