10 Ways to Customize Thesis and Enhance Your Blog

by Matt Langford on April 10, 2009 · Comments

10 Ways to Customize Thesis and Enhance Your Blog

As with most bloggers, I frequently tweak the design and functionality of my site. Most of the time, the changes have a practical purpose, but there are times when modifications are born out of boredom.

Because I’ve gotten so many questions about the various modifications and enhancements I’ve made to my blog, I decided to write a post detailing how I did so. If you don’t already know, all of these things wouldn’t be possible without Wordpress and the excellent Thesis Theme by DIYthemes.

Change Sidebar Color

One of the easiest and most effective design modifications to Thesis is changing the background color of your sidebar. To do so, simply insert the following code into your custom.css file:

.custom #content_box {background-color:#F5F5F5;}
.custom #content {background-color:#fff;}

Both lines are necessary for this to work correctly! There is one minor bug with this solution, however. If for some reason, you have a page with a longer sidebar than content, the sidebar color will bleed over after the content. If done correctly, this ‘bug’ could actually look really cool on your site!

Insert Header Image

To replace the text on the default Thesis installation with a header image, simply paste all of the following code into your custom.css page.

This will make the header clickable, define the size, and place the background. Be sure to change the height, width, and url to match your site:

.custom #header #logo a { display: block; height: #px; width: #px; background: url('INSERT IMAGE URL') no-repeat; outline: none; }

This code will cast the text title and tagline out of the way:

.custom #header #logo, .custom #header #tagline { text-indent: -9999px; }

This will remove any whitespace after the header image:

.custom #header #tagline { height: 0; }

This will remove the padding around the header, so there is no whitespace in any other region:

.custom #header { padding: 0; border-bottom:none;}

Social Media Links & Profile Box at Bottom of Posts

For a box that will display social media links and an author profile, keep reading! This is relatively simple, but does require that you edit custom_functions.php and custom.css. It makes use of Custom Hooks in Thesis. Using php, it will automatically pull each author’s description, photo, and number of posts.

This code was taken from a post on Blogussion and heavily modified to fit my needs.

First, paste all of this into your custom_function.php:

function post_footer() {
	if (is_single())
	{
	?>
<div class="socialmedia"><p><strong>Share this post:</strong> <a rel="nofollow" href="http://twitter.com/home/?status=<?php the_title(); ?> -  http://YOUR_URL.com/?p=<?php the_ID(); ?>">Tweet It</a> | <a rel="nofollow" href="http://www.facebook.com/sharer.php" onclick="window.open('http://www.facebook.com/sharer.php?u=<?php the_permalink() ?>&t='+encodeURIComponent(document.title), 'facebook','toolbar=no,width=700,height=400'); return false;">Facebook It</a> | <a rel="nofollow" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>">Stumble It</a> | <a rel="nofollow" href="http://www.digg.com/submit?phase=2&url=<?php the_permalink() ?>">Digg It</a> | <a rel="nofollow" href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=INSERT_TITLE">
Delicious It</a></p></div>
<div class="postauthor">
		<?php echo get_avatar( get_the_author_id() , 120 ); ?>
		<h4>Article by <a href="<?php the_author_url(); ?>">
		<?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></h4>
  <p><?php the_author_firstname(); ?> has written <strong><?php the_author_posts(); ?></strong> awesome articles for us. <?php the_author_description(); ?></p><p>If you liked this post, you will definitely enjoy our others. Subscribe to the feed via RSS or EMAIL to get instantly updated for those awesome posts soon to come.</p>
</div>
	<?php
	}
}
	add_action('thesis_hook_after_post_box', 'post_footer');

Be sure to insert your own URLs in the specified spots above. Also, feel free to add or remove links to additional sites.

You can style it all in any way you like, but here’s my CSS for the profile box to get you started:

.postauthor { background: #F5F5F5; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1.5em; }
.postauthor img { border: 5px solid #e2dede; float: left; margin-right: 1.5em; }
.postauthor h4 { color: #666; font-size: 2em; margin-bottom: 5px; }
.postauthor p { color: #515151; font-size: 13px; margin-bottom: 12px; }

And the css for the Social Media Box:

.socialmedia { background: #FFFBCC; border-top: 1px solid #E6DB55; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1em; text-align: center;}
.socialmedia p { color: #515151; font-size: 1.3em;}

Change Nav Hover Colors

Changing the hover colors for your nav menu is pretty straighforward. For the colors of the nav menu only, put this in your custom.css and change the colors as you see fit:

.custom ul#tabs li a:hover {color: #fff; text-decoration: underline; background-color: #1873a1; }

And to change the hover color of your Subscribe to RSS link, use this:

.custom ul#tabs li.rss a:hover { background-color: #fff; color: #111; }

Modify Archives

I’ve been asked many times how I added a post listing and reorganized my archives page. I do like the simplicity that thesis includes with their archives page, but I wanted to add a little more functionality.

If you want to achieve something similar to my archive page, first put this in custom_functions.php:

function my_archive() {
?>
<div class="archive">
<div class="archivel">
  <h3>By Category:</h3>
  <ul>
    <?php wp_list_categories('sort_column=name&title_li='); ?>
  </ul>

  <h3>By Month:</h3>
  <ul>
    <?php wp_get_archives('type=monthly'); ?>
  </ul>

</div>

<div class="archiver">

   <h3>By Post: (Last 100 articles)</h3>
   <ul>
     <?php wp_get_archives('type=postbypost&limit=100'); ?>
   </ul>
</div>
</div>
<?php
}

remove_action('thesis_hook_archives_template', 'thesis_archives_template');
add_action('thesis_hook_archives_template', 'my_archive');

And place this is custom.css:

.custom .archive h3 {margin-top: 0;}
.custom .archive ul {font-size: .85em; }
.custom .archivel { float: left; width: 40%;}
.custom .archiver { float: right; width: 60%;}

Wordpress Image Captions

Image Caption Here

Image Caption Here

You can use this technique to put captions underneath your photos, but I’ve found the code below works much better. After you have put this code into your custom.css page, just use the built in Caption property in wordpress to make it display!

Code Removed. This was included in the most recent version of Thesis.

Remove Divider Line from Sidebar/Content Area

Another simple fix! To remove the vertical line between the Sidebar and Content Area, simply put this one line into custom.css:

.custom #content_box {background:none;}

Combined with the sidebar background color shown above, this will look very good!

Better CommentLuv Styling

The CommentLuv plugin is a great way to show your commenters that you appreciate them. Below their comment, almost magically, a link to their blog’s newest post will show. While the default styling isn’t bad, it could use some help.
commentluvIf you like how it looks on my site (see above), simply paste this code into the Styling textfield in the CommentLuv settings:

Code Removed. The new version of CommentLuv makes this irrelevant.

Remove Category Titles on Category Pages

On every category page in Thesis, there is a visible title near the top, above all content. This simple code will remove those titles:

#archive_info {display:none;}

If you have any questions, you can ask them in the comments and I will try my best to help you!

  • Some great tips here Matt! And thanks for linking to my blog!

    <abbr>Marko Saric’s last blog post..8 Thesis theme design tips to make your blog better</abbr>
  • @Marko Saric - No problem! I have to give props to the guys who have helped me along the way!
  • Terrific - I just moved my 1100+ page site to Wordpress+Thesis and, while I had already done a lot of what you're suggesting, anyone who's just getting started will save a few hours. Cheers.

    <abbr>Scott Clark’s last blog post..Spring is for Launches…SiteCreations.com is now BuzzMaven.com</abbr>
  • Loved these tips, I am wondering how I would go about making the font to my social networking a bit bigger. I have it like you do but for some reason the font is small on my site. Thanks again!
  • sorry typed in the wrong website, this is correct.

    <abbr>Lori’s last blog post..Looking Back</abbr>
  • sorry never mind I got it.

    <abbr>Lori’s last blog post..Looking Back</abbr>
  • @Scott Clark - Thanks! I'm just trying to do what I can!

    @Lori - Glad you got it worked out. Let me know if you need anything else! Did you decide to take it down or was it on another blog?
  • JHS
    Great tips, Matt. Here's a challenge for you. I am using Thesis on all of my sites. I installed Andy Bailey's Twitip ID plugin. Put the code in the Comment Form box (I use Rick's Open Hook plug-in). Nothing! Doesn't show up! I've played around with the settings, but can't figure it out. Any ideas? I'd love to get it working . . . it is supposed to add a box to the comment form where folks can insert their Twitter i.d. and then output it under their name.

    <abbr>JHS’s last blog post..Saturday Nine: Enjoying Your Holiday</abbr>
  • @JHS - I know exactly what you're talking about and I've actually seen it done correctly by Marko Saric. Not only did he get it setup correctly, but he was kind enough to write how he did it so easily: Read it here.

    His instructions are about halfway down in the article. He also offers some more help in the comment section as well! Let me know if that works for you!
  • JHS
    Thanks, Matt. Still didn't work. Did exactly what he posted, but the field simply does not show up in the comment form. :-(

    <abbr>JHS’s last blog post..Saturday Nine: Enjoying Your Holiday</abbr>
  • @JHS - I might be misunderstanding your question, but when I visit your site, I see a Twitter field in the comments section and had no problem using it. To test it, you'll probably need to access your site while you are not logged in. I commented on your last post and used the Twitter field. Everything seemed to work properly...
  • JHS
    I saw that! :-)

    last night, I implemented the method described by Darryl Rowse using the Extra Comment Field plugin, but it is not ideal because I am getting a weird error that prevents me from seeing comments identified as spam to decide if I want to delete them. In particular, I am getting this on the page where I should be able to see spam comments:

    Warning: reset() [function.reset]: Passed variable is not an array or object in /plugins/extra-comment-fields.php on line 181

    Warning: current() [function.current]: Passed variable is not an array or object in /plugins/extra-comment-fields.php on line 182

    Lines 175-182 of that file are (I added the brackets here):

    [function ecf_addOnComments($overrideComments=0) { global $comments, $wpdb;
    $comments = (($overrideComments)?($overrideComments):($comments));
    if (!empty($comments)) {

    $compareComments = $comments;
    $fields = ecf_fieldList();
    reset($comments);
    $firstComment = current($comments);]


    So I have no idea how to fix that.

    I added a space and graphic, but can't imagine that would cause the problem. Any ideas are appreciated!! :-) (If I'm being a pain, just tell me, but I am determined to make this work.)

    <abbr>JHS’s last blog post..Saturday Nine: Enjoying Your Holiday</abbr>
  • No I have it you can see it at the end of this post...at least I hope you can ;)

    http://laurelwreathsreflections.com/2009/04/inf...

    <abbr>Lori’s last blog post..Being Informed</abbr>
  • @JHS - I can get around with php, but I'm by no means a guru on the topic. I suggest either visiting the Thesis Forum or going straight to Darryl Rowse or the plugin developer.

    @Lori - I see it now! Last time, I probably saw a post that your Super Cache plugin had yet to refresh. Good job!
  • Phenomenal tips Matt. Many thanks to you for posting this. I am incorporating some of these on my blog.

    <abbr>Tom K.’s last blog post..The well executed yet boring landscape photo.</abbr>
  • Glad to be of help! Hope you enjoy Thesis. I love playing around with the customizations, in fact I just added threaded comments thanks to Thesis 1.5!
  • Whilst I use Thesis on one of my blogs I'm so glad that the present theme I am using let's me do most of these little mods without having to touch the code at all, which for someone like me who doesn't enjoy code manipulation is a pure joy.

    Having said that thanks for those tips as I can use those on my Thesis themed blog.

    <abbr>Sire’s last blog post..Blogging As A Source Of Information</abbr>
  • Hopefully the tips will help you on your Thesis site. Part of the appeal of Thesis is it has unlimited customizable options, but you will have to touch the code at some point. The great thing, though, is you cannot break it due to their very good ‘custom’ folder setup. Genius, really!
  • That is a bonus that's for sure, and as soon as I get the time I may try and play around with it a little. Thanks.

    <abbr>Sire’s last blog post..Having A Blog Test Site Is A Good Idea</abbr>
  • Tim
    Matt,

    Awesome tips and customization suggestions. I liked the hide approach for the category titles. Neat trick ;-) Indeed, the "From the Category Archives: /category-name/" can be a little lack-luster. Here is what helped me customize this text to communicate a little more meaningful. I.E. "You're going deeper into meaningful content. Enjoy the category:"
    "/category-name/"

    (this took some digging for help figuring this out - thought others here may enjoy!)

    Add this to your custom_functions.php and play with your own customizations for category, tag, yearly, monthly, search etc. Too cool ;-)

    Download Text File with Code Here.

    The other piece I recommend customizing is the 404. Thesis OpenHook plugin for that all the way!!

    Thanks again!
  • Great tips for the archives pages! Using that technique, you can really put any information you'd like on any archive page. Could be very useful for larger blogs with thousands of posts. Thanks for contributing!

    Thesis OpenHook is a must have plugin for Thesis users, no question!
  • Hey Matt,

    Just wanted to drop by and thank you for including my post on your blog. I love what you did with the Author box, and was very happy to see someone actually using it!

    <abbr>Alex | Blogussion.com’s last blog post..6 Valuable Tips On Outsourcing Your Blog’s Posts</abbr>
  • Alex, No problem. Thanks for helping me along the way as well! Looking forward to some more customization posts by you!
  • hey, u were the good ones.
    thanks a lot mate for this thesis help.
    i'm using thesis theme too..
    don't forget to check out my blog if you want to check out my thesis modification.

    avast!

    <abbr>baloot’s last blog post..Belajar Photoshop Tutorial: Cara-cara Menukar Warna Rambut</abbr>
  • Good Thesis mod, baloot! Hopefully some of my mods helped you out. Thanks for stopping by my blog.
  • I like these - the archives one especially but you have an error in your code. When I copy + pasted from your site, it pasted ALL of my entries under the "Last 100 posts" section. You're missing a "&" in the code.

    <abbr>Adam Walker Cleaveland’s last blog post..Philip Clayton on Plurality 2.0</abbr>
  • Thanks, Adam! Definitely a typo there...
  • chris giammona
    Matt

    I am moving to thesis this weekend. Are there articles about how to customize Twitter in the sidebar similar to your or problogger's site?

    Thanks
    Chris
  • Chris, the way we have Twitter in the sidebar doesn't have to do with Thesis. You can use a plugin (such as Twitter Tools) or Twitter's Resources to accomplish it!

    As for the image, it's just a basic div background using the background-image property in CSS.
  • Thanks! Just got thesis but couldn't work out how to get a header image. Searched all over Google - yours was by far the easiest to understand! (It's my first time)

    <abbr>Richard Barratt’s last blog post..It just got better for them</abbr>
  • Richard, I'm glad it was easy for you! For a few more simple tips, be sure to visit DIYthemes newest blog: Answers.
  • Tommy
    Tried your header image code but doesn't show in firefox for some reason. Looks good in ie7 though. Any idea why that is?
  • Tommy, could you provide me with a link so I can check it out?
  • Tommy
    Nevermind. My mistake - left out the apostrophe ' between the call to the url. That is, url('images/image_file_name.jpg')
  • Hi Matt,

    Thanks for these really useful tips. I don’t really get the code so these tips are really helpful.

    I have just bought thesis and they have really helped me a lot. I got the header all nailed up right but the customised footer is giving me grey hair.

    I have gone through your guidelines and keep getting an error when I upload the changes. I don’t know if this is a bit presumptuous of me but please can I ask you to have a look at the code and see what error I am making. I have uploaded the text footer file here (editor's note: see next post).

    I appreciate any feedback you can offer.

    <abbr>Michael Cowen’s last blog post..Lead the conversation …</abbr>
  • Sorry Matt -- the link is here: http://www.box.net/shared/5dt3ppll3n

    <abbr>Michael Cowen’s last blog post..Lead the conversation …</abbr>
  • Michael, put this in your custom_functions.php file. You can modify the text, but don't change or add anything to any php tags. Leave the () parenthesis as is, nothing should be inserted inside them.

    function post_footer() {
    if (is_single())
    {
    ?>
    <div class="postauthor">
    <?php echo get_avatar( get_the_author_id() , 120 ); ?>

    Article by <a href="<?php the_author_url(); ?>">
    <?php the_author_firstname(); ?> <?php the_author_lastname(); ?>


    <?php the_author_firstname(); ?> has written <?php the_author_posts(); ?> awesome articles. <?php the_author_description(); ?>

    If you liked this post, you will definitely enjoy our others. Subscribe to the feed via RSS or EMAIL to get instantly updated for those awesome posts soon to come.


    </div>
    <?php
    }
    }
    add_action('thesis_hook_after_post_box', 'post_footer');


    Let me know how that works out for ya!
  • Hi Matt,

    Thanks for the help here. I copied and pasted the script and still seem to get the same error:

    Parse error: syntax error, unexpected '<' in /home/secondmind/the-second-mind.com/wp-content/themes/thesis-15b-r7/custom/custom_functions.php on line 33

    Dont know what that meanms to ?? Am i suppossed to be adding something to the thesis hook as well?

    Cheers
    Michael
  • All that error is telling you is you have an extra "<" in your code. To find it, open it up and go to Line # 33. Somewhere in that line, you'll need to delete an "<" to make it work. If you can't find it, box.net your current custom_functions.php to me again and I'll fix it for ya!
  • Hi Matt,

    Thanks for the help here. I copied and pasted your code from your post above (37). It still brings up that syntax error for this line: . I cant find anything wrong with the script.

    I have dropped the custom_functions.php here: http://www.box.net/shared/nx1tjg14oq

    Cheers

    <abbr>Michael Cowen’s last blog post..Lead the conversation …</abbr>
  • Michael, looking at your code directly, I found two things. First, you're missing a "?>" in the 4th line of the code I gave to you with this comment.

    Secondly, you need to make a few changes to correctly display the "&" sign in your code. Delete every instance of amp; so that just the preceding "&" is displayed.
  • Thank You Matt -- Working a 100%.

    Thanks so much for your help, man. really appreciate it!!

    Cheers

    <abbr>Michael Cowen’s last blog post..Lead the conversation …</abbr>
  • Happy to hear it! Let me know if you need anything else!
  • Hey Matt. thanks for this post, I'm going to try adding an Author box under my posts. May I ask how you did your "sharing is sexy"? Is it a plugin? I love the way it's spaced out and pops up. :)
    Thanks!
    Renee

    <abbr>Renee’s last blog post..How to Protect Yourself and Loved Ones from Swine Flu</abbr>
  • Renee, you have a killer Thesis mod! Very impressed! Beauty and Brains eh?

    As for the Sharing is Sexy thing, it is a plugin by Josh Jones. I try not to use many plugins, but I really like this one... it's lightweight and looks cool!
  • Thanks so much Matt! The plugin looks great.

    And thank you! I can't get all the credit though, I did it myself but asked for a lot of help, and when I messed it up (in IE it looked crazy!) I had to ask some pro-coder to help me out :P But thanks, I really like how it has turned out as well. I like what you did too; Thesis is just amazing. The best theme I've ever used, hands down. :)
  • Well, it looks terrific now! I can definitely relate to the IE nightmares... For the plugin, if you have any problems or questions, the developer responds quickly and is very helpful! Thanks for visiting!
  • These tutorials are so easy and straightforward, a Godsend compared to the difficult-to-navigate Thesis forum. I will be bookmarking your site, it's a great reference! Thanks much :-)
  • Hey, Penny, glad these might help you out! Let me know if you need any help with anything on your site, I'd be glad to contribute! Although, I will say that your site looks very nice -- very clean -- as is. Great job!
  • Great tips, Matt!
    I really like your archives page. I'll have to give that one a go when I get more time. I just finished adding the post footer today and your example saved me a lot of time. Keep up the great work and thanks for sharing!
    Jeff

    <abbr>Jeff Garrett’s last blog post..A Privacy Loophole with Facebook Status Updates?</abbr>
  • Thanks Jeff! I see you used the author and sharing box as well! Looking nice...
  • Just found your blog from Marko's "How to Make My Blog". Very nice sight! I've been wanting to go to full-page framework, but I'm pretty code challenged. This is one of the best Thesis sites, I've seen. Great Job!
  • Jeff Rose, thanks for dropping by! Marko has a great site and it's definitely in my feed reader. A lot of the stuff I've done on my site has come directly from him or kind of evolved from some of his tutorials or suggestions.

    I don't do much straight coding, but switching to full-width wasn't much of a challenge. In fact, other than a little CSS, there wasn't anything to it at all except making the correct graphics. Thanks for visiting!
  • Great tips. I've applied the category removal so far, and will come back to do some more when I get back to tweaking my site. Thanks!

    ~ Kristi

    <abbr>Kikolani’s last blog post..Getting Started with the Thesis Theme & Resources</abbr>
  • Kikolani, Thanks! I hope a few more of them prove useful...
  • kurt
    tq for this tips matt,
    its realy cool!
    do u know how to remove comment# below the post?
  • Fantastic Tips. I have included many of the hooks and styles you gave on my blog too.
    Thanks much!

    <abbr>Vinod’s last blog post..How to deploy an iPhone application without an IDP Membership</abbr>
  • Vinod, I like your blog a lot -- The theme and the content! Nice job!
  • Lon
    hey Matt... awesome blog and thesis resources.

    I'd love to know how you included the comment count on top of each post as well...?

    <abbr>Lon’s last blog post..Burning Hot Raging Lust</abbr>
  • Lon, to include the comment count on the top of each post, simply go to your Wordpress Admin Panel and click THESIS OPTIONS. Under Display Options, click the "+" next to bylines. Select "Show number of comments in byline" and you're all set!
  • Hi Matt, great tutorial. I'm using Thesis 1.5 and the section about placing Social Media Links & Profile Box at Bottom of Posts.

    It works well and looks great but there is an important difference. Mine does not show up with the number of comments indicator at the bottom of the post on the home page but only when I click on the number of comments and it opens up the individual post with the comments themselves displayed, OR, if I click on an individual post in my recent posts list it opens that individual post with comments and I can see the media links and profile box.

    Lastly it fails to pull up my avatar and just gives me one of the generic options.

    Thanks so much and keep the tutorials coming. These are so helpful for non coders like me.

    <abbr>William Todd’s last blog post..Preparing To Write Great Executive Speeches</abbr>
  • William, the tutorial for the social media box at the bottom is a little different than what I currently have on my blog (I modified mine since I wrote the tutorial).

    Yours is working perfectly, from what I can tell, according to the tutorial. Your avatar is displaying properly for me and all the social media links are working correctly.

    If you'd like to display a comment count inside the social media or profile box, simply add this code where you'd like it to display in custom_functions.php.



    <?php comments_number('no comments','one comment','% comments'); ?>

  • JHS
    Matt: Since upgrading to 1.5, I'm having problems with the framing and comments of images. They don't line up correctly, but I can't figure out the problem. If you could take a look, I would greatly appreciate any advice you might have. I tried your image code, but it did not correct the problem. You can see the problem on 2 of my sites:

    http://www.stocktonconcertband.com
    http://www.lodicommunityband.com

    Thanks much!

    <abbr>JHS’s last blog post..Sunday Stealing: The 29′er Meme</abbr>
  • JHS, it looks to me as if your images are aligned correctly (I see one aligned left, one aligned right, and one aligned center). The only error I see is -- When an image has a caption, you do NOT need to give it a class of "frame." The caption will automatically insert its own frame...

    That help?
  • I'm having a devil of a time with my thesis theme, and don't know where to turn. Finding my way through the forums has been difficult. Though my blog looks fine in Firefox, I've managed to goof up the way it looks in IE (and readers have complained!). Renee found a pro-coder to help her, but I don't know where to look. Any suggestions? (My sidebar slips below the content & the font gets very large in IE). Thanks for any input.

    <abbr>This Eclectic Life’s last blog post..Butterflies Flutter By In My Neck Of The Woods</abbr>
  • I'm on a mac, so I'm depending on BrowserShots to see your site in IE... There are some pretty major problems there, but try these things in this order:

    1. Press the SAVE button in both Design Options and Thesis Options
    2. Make sure you set the permissions correctly when you installed Thesis
    3. Deactivate all plugins one-by-one and test your site

    If you've done all of that and nothing worked, let me know and I'll try something else, but it almost HAS to be one of the above...
  • You are my hero! It is one of the plugins--at least on IE7(haven't figured out which one yet...but I will). You rock!
    <abbr>This Eclectic Life’s last blog post..Butterflies Flutter By In My Neck Of The Woods</abbr>
  • JHS
    Matt: If I add "frame" when using captions, it throws the alignment off. If I don't add "frame" when not using a caption, the frame doesn't show around the image. Very weird. But that's how I've gotten things to line up now. Thanks!

    <abbr>JHS’s last blog post..Sunday Stealing: The 29′er Meme</abbr>
  • JHS, sorry it took me so long to get back to you... From what I can tell, most of the caption functionality has already been built in to Thesis 1.5. You shouldn't have to insert any CSS to get the basic caption functionality. I'm not using any special code for the captions on this site as of now.
  • Hi,

    I just wanted to say thanks for posting all this information about Thesis. I have used so much of it and my site is look just great :) I had looked all over for how to create the author profile box and could not find much until I came across your site.

    I appreciate you making this available to everyone.
  • Many thanks for your archive modification! Was just wondering how to effect something like that, and there you are with the answer.

    <abbr>Phil Barron’s last blog post..Letters, I get letters</abbr>
  • Hi Matt, thanks for all this help and the great tutorials you've got here. I'm new to Thesis and just reading up on it - I agree with whoever said it was more difficult than they thought. I understand the very basics of hooks and functions now, but I don't know enough to even be able to ask what I want to ask.

    I know Thesis comes with standardized hooks, but what about functions? Do I just make up the name for my function? (is that possible)? I want to add some code in my sidebars, images, etc. and I think I know the hooks I need, but not sure what functions I need. Do I just give the function a name I make up?

    Anything you can point me to at my level here would be great!

    <abbr>MoneyEnergy’s last blog post..A Journey Like No Other: Following the Wealth Pilgrim From Adversity to Personal Transformation and Financial Freedom</abbr>
  • If you're directly editing custom_functions.php, then yes, you can create the names of your own functions and insert them using hooks (Very basic description there). However, if you don't consider yourself an advanced user, I HIGHLY recommend installing the Thesis OpenHook Plugin that will basically eliminate the need for creating functions/names.
  • Also, how do you do basic things like change colors?

    And what's the difference between the custom.css file and custom_functions.php file?

    thanks - again, if there's a tutorial that talks about this specifically, point me out - I've been on DIY's site but havent' seen any related to this.

    <abbr>MoneyEnergy’s last blog post..A Journey Like No Other: Following the Wealth Pilgrim From Adversity to Personal Transformation and Financial Freedom</abbr>
  • Your custom.css file is for changing anything that has to do with design and layout. Anything pertaining to colors, fonts, basic positioning, borders, backgrounds, spacing, etc can be changed using your css (cascading style sheet) file.

    Your custom_functions.php file is generally for automatically adding certain content (e.g. a box that shows up only on your posts, text in your footer) or giving a function to something.

    Look in Section IV on this page for more information.
  • JHS
    Dumb question for you: How do you get the little heart doesn't show up next to the comment luv verbiage?

    <abbr>JHS’s last blog post..Carnival of Family Life: Memorial Day Edition</abbr>
  • JHS
    Oh, jeez . . . that should have read: "How do you get the little heart to appear? On my site, it doesn't show up next to the comment luv verbiage!"

    <abbr>JHS’s last blog post..Carnival of Family Life: Memorial Day Edition</abbr>
  • Just register at commentluv.com and enter your given ID into the appropriate field in your plugin settings... That should be it!
  • Taz
    Hi Matt,
    Firstly thanks for all the helpful tutorials on this site for the thesis theme. I'm hoping you can help me with a small problem though.

    Re your code to modify the Archives, I copied the code and pasted it into my functions.php using the 'editor' function. Since I couldn't find a custom_functions.php as per your instructions I assumed (perhaps wrongly) that you were referring to functions.php. Then on trying to 'update file' I get the following error:

    ''Parse error: syntax error, unexpected '}' in /homepages/5/d232851306/htdocs/wp
    content/themes/thesis_15/functions.php on line 98''

    More oddly when I remove the code I just pasted and hit 'update file' I still get the parse error. I've even copied the code from a locally stored functions.php and replaced the online code in the 'editor' but still get the same error. I'm stumped. Any ideas?
  • Taz
    P.S. Since I closed the browser window which showed the dashboard, I can't even get into any of the admin controls. All I get is the parse error. I'm going to upload thesis again in the hope that that'll fix it. I would like to modify the archive again but I think I'll leave that until I receive your input as to what I did wrong. Thanks.
  • Taz, re-uploading Thesis should have fixed your problem. With Thesis, unlike most themes, you should never edit the file entitled "functions.php!" And now you know why!

    The file custom_functions.php will not show up in the 'editor' in Wordpress because of the Thesis file structure. The easiest way to edit this file is to download the plugin "Thesis OpenHook." After downloading, click the new option under "Appearance" called "Thesis Custom Programming." This is where you will need to insert the Archives Code. At the top of the document there are some brief instructions on how to modify the page.

    That should fix you problem right away! Let me know how it turns out!
  • Taz
    Many thanks for the feedback Matt. I re-uploaded thesis and used the Thesis OpenHook plugin and think I have it sorted. All this coding has just reminded me of why I dropped Computing for Law at University.

    Thanks again for the help. I get the feeling I'm going to need more help implementing some of the other modifications on your site.
  • I am VERY new at coding, hooks and making anything but the most minor changes to my theme. I bought But I am conused as to where to put this cose to customize my archives page. I am using Thesis Open Hook.

    And place this is custom.css:
    .custom .archive h3 {margin-top: 0;}
    .custom .archive ul {font-size: .85em; }
    .custom .archivel { float: left; width: 40%;}
    .custom .archiver { float: right; width: 60%;}
  • Clara, if you have Thesis OpenHook installed, simply click "Thesis Custom Styling" underneath "Appearance" in the Wordpress Admin Panel. Paste the code for custom.css into that page and you should be all set!
  • Emz
    hey i need help

    I wanna replace the multimedia box with an opt-in box.

    I want the opt-in box to be inside that multimedia box. I know there like a code in it but I dont know how to do the code.

    Please post the guide / tutorial on how to put an opt-in box in the multimedia box.

    I need it badly.
  • Emz, by opt-in, I'm assuming you're referring to subscription boxes for RSS or email? If so, you'll need to register your site on Feedburner... They will provide the code for your particular site to paste in the multimedia box in your options panel on the admin screen.
  • Wow, thank you for all these great tips! I did implement some of them already and they work perfect :)
    Just one (maybe dumb) question: I can't get the archives page (my favorite tip BTW) to work... I copied and pasted the code into custom_functions and custom_css without a problem but how do I pull up the archives page now? Not just by adding a page named "Archives" (because that didn't work... Did I miss something or is there a specific way to create an archives page where your custom code would then do its magic? Hope you can help me with this, thank you so much!!

    <abbr>Claudia’s last blog post..The waiting game</abbr>
  • Yay!! Nevermind! Found the answer to my (dumb) question. Had to use the archives template when creating the archives page...
    Thanks anyway and keep up the good work!!

    <abbr>Claudia’s last blog post..The waiting game</abbr>
  • No problem! Glad you figured it out quickly!
  • how can i remove the divider line between head and content ????
    .-= Adrian ´s last blog ..Immer mehr Unternehmen setzen auf Twitter =-.
  • Here's a good place to look for info on headers, nav, and styling all of them: DoubleMule Headers.
  • I put a few of these to good use. Thanks a lot man very helpful!
    .-= Sean Davis´s last blog ..11 Reasons Why I Suggest “Think & Grow Rich” =-.
  • How Can I remove the Link to Comment Author.... I mean the Comment Author name will be visible but it won't be linked to his site.
  • Hmmm... I know it's possible, but I don't know right off hand. Perhaps try @pearsonified on Twitter? Or @kingdomgeek, @kristarella, etc...
  • Thank You....

    Another Thing I wanted to Ask is ... The Default Form Elements are Really Ugly.. I mean the all the Input Field Properties of the Feed Subscriptions are not nice looking... See : http://is.gd/1pEnE

    Any Remedy ... ???
  • You can style any form element if you know their css class or id in custom.css. The easiest way to do this is to make use of Firebug with the Firefox browser. @Kristarella has an excellent tutorial on how to use Firebug.
  • This is a really terrific tutorial, thank you! I have a ridiculous noob question, and I hope you can help me. On my current blog, I've been using a plug-in for sidebar dropdown archives. I'd love to move to a page like you have, but I'm just not sure how to start. Do I create a page, or does the custom php code do that? In researching this solution, I've been references to "the thesis archives page" but I can't even figure out where/what this is. Can you help me out?
  • Dani, assuming you use the Thesis Theme, an archives page can be setup quite easily. Simply add a New Page in the Wordpress Admin Panel. On the right hand column (or somewhere on the Add New page, if you've rearranged stuff) will be an option for a "Template." Click the drop down menu and choose Archives. Leave all of the other fields blank except for the Title (call it Archives) and click publish. That's it!

    If you want it do display a link in Thesis, just go into Thesis options and make sure it's selected!

    Let me know if this got it working for ya!
  • Aha! Oh, thank you SO much -- so ridiculously obvious, just as I suspected. I can't tell you how long I've been puzzling over this! A million thanks... you're my new best friend.
  • Great site! Thanks so much for posting!

    Can I ask what plugin you use for reply comments? Also which ReTweet plugin you use?
blog comments powered by Disqus

Previous post:

Next post: