in Thesis Thursday · May 21, 2009

Create Colored Widget Boxes Displaying Recent Posts, Popular Posts, and More

One thing I have received the most atten­tion about regard­ing the design of this blog are those yel­low boxes in my side­bar that dis­play ran­dom posts on the blog. Peo­ple like it, and I got a com­ment on my last The­sis Thurs­day post ask­ing how to cre­ate that box.

I decided that this week I would cre­ate a sim­ple tuto­r­ial to show you how I did that effect here because I think it is a pretty cool trick.

This tuto­r­ial is eas­ily adapt­able for use on non-Thesis blogs, but for the sake of the series — the code will be writ­ten with The­sis in mind.

1. Prepa­ra­tions

Just to get a lit­tle pre­pared here, these are the things you will need for this tutorial.

Once you choose what plu­gin you want, down­load it, install it and add it within your Wid­gets panel. Sim­ple enough prepar­ing, right? As long as you know what you want, the hard stuff is out of the way.

2. The CSS

Depend­ing on the plu­gin you use, the CSS will be dif­fer­ent. But the only dif­fer­ence is the #ID that is used, and that is eas­ily change­able. So, the CSS code I use here is pretty sim­ple, but I will explain it:

#random-posts li {
	background: #FFFBCC;
	border: 1px solid #E6DB55;
	line-height: 1.4em;
	-moz-border-radius: 5px;
	padding: 0.9em;
	-webkit-border-radius: 5px;
}

So what we have going on up there is pretty sim­ple. We have a back­ground which will allow you to switch up the color of the box, the bor­der will sur­round the whole think, the line height con­trols the spac­ing between each line of the link, and the padding is the spac­ing from the box to the text. The -moz-border-radius & -webkit-border-radius will make the box rounded with­out images. They will only be round in Safari and Fire­fox, but it’s a neat trick to those who can actu­ally see it.

I have col­ored in #random-posts because that is the thing that will change depend­ing on which plu­gin you choose.

The ID’s you will need to use for the other plu­g­ins are below:

  • #recent-posts
  • #popular-posts
  • #recent-comments

3. Cus­tomiz­ing the output

Default Widgets LookYou should have the yel­low box around the link by default. It looks kind of bor­ing, but because of how flex­i­ble this plu­gin is, mak­ing it look bet­ter is not a prob­lem at all.

There are a lot of dif­fer­ent things you can add to the box to make it look cool. The plu­gin makes adding things so sim­ple too, and you really don’t need any cod­ing knowl­edge at all to do it.

So to start, go to Set­tings → Recent Comments/Recent Posts/Random/Popular Posts → Out­put → Out­put Tem­plate. This is where we can add any­thing to the box. I will go over the two things I added to my boxes, which i think look sexy as hell.

66×66 Image

This will only work if you use The­sis teasers and have the 66×66 images for each post

You can paste this code into the Out­put Tem­plate box:

<li><a href="{url}"><img src="{custom:thesis_thumb}" width="66" height="66" alt="" /></a>{link}</li>

NOTE: If you let The­sis auto gen­er­ate thumb­nails, replace thesis_thumb with thesis_post_image in the code above.

The code calls the thesis_thumb cus­tom field from your posts and puts it into the box. You will also need to add this CSS to make the image look right:

#random-posts img { float: left; padding-right: 8px; }

Add the date, and other stuff

If you look in my box, there is a date of when the post was pub­lished. The date can be replaces with a vari­ety of things like com­ment count, views, tags, and a lot more. The code below will show you how to float things to the right.

First, replace the code in your Out­put Tem­plate with this:

<li><a href="{url}"><img src="{custom:thesis_thumb}" width="48" height="48" alt="" /></a>{link} <div class="right">{date}</div></li>

Add this to your CSS:

#random-posts div.right { color: #baaf2e; float: right; font-size: 11px; text-transform: uppercase; }

I added a lit­tle style to change the font color, size and case. This will bring what­ever you wrap within <div class="right">...</div> to the right. But there will be a bug.

If you look towards the bottom of my box here, you will see a slight overlap

If you look towards the bot­tom of my box here, you will see a slight overlap

You will also need to add overflow: hidden; to the very first piece of code you added in Step 2. When the image is in the box float­ing, it will over­lap the box, mak­ing it looks really weird. So, by adding that line to your CSS, it will make it look right, and the text will be inside of the box again.

Sim­ple Enough, Wasn’t It?

That was pretty sim­ple wasn’t it? The plu­g­ins used in this tuto­r­ial are extremely pow­er­ful, and allow you to cus­tomize your out­put extensively.

I hope you enjoyed this tuto­r­ial, as it was the first tuto­r­ial in the series. I hope you stick around for more posts here, and next week’s The­sis Thurs­day post! Is there any­thing you guys want cov­ered for next Thursday?

PS: This is a really cool The­sis resource. Matt Lang­ford wrote up a kick ass list of 100 Resources For The­sis you guys should def­i­nitely check out!

{ 10 trackbacks }

links for 2009-05-28 — girliegeek
May 28, 2009 at 3:04 AM
Daily Digest for May 30th | Half-baked
May 30, 2009 at 1:23 AM
Alex at Asnio.com: more things than imaginable in Thesis sidebars
May 31, 2009 at 3:19 PM
Thesis Tutorial Compilation - The Most Useful Thesis Theme Tutorials on the Web organized by subject and author
June 29, 2009 at 11:55 AM
Growing with MattFlies.com | MattFlies.com
July 16, 2009 at 5:04 PM
Create Colored Widget Boxes In Thesis | Squico
July 20, 2009 at 5:20 PM
100+ Thesis Theme Resources | Cho Toan dot Com
August 5, 2009 at 11:01 PM
Visual Slider, Unlimited Sidebars, Tabbed Widgets, and More! | 3asslema4Host
August 13, 2009 at 8:09 AM
60 Wonderful And Helpful Thesis Customization Tutorials - Cash-Bandit.com
September 13, 2009 at 10:04 AM
250+ Thesis Theme Resources | Sahil Kotak dot Com
December 8, 2009 at 3:33 PM

{ 94 comments… read them below or add one }

1 kristarella May 21, 2009 at 10:14 PM

Nice! That out­put tem­plate thing is cool too. I haven’t seen that before.

It’s worth not­ing, before any­one else comes to com­plain about it, that these CSS rounded cor­ners don’t work in IE. Per­son­ally I’d rather give the good browsers rounded cor­ners and set­tle with square cor­ners in IE than use image backgrounds.

Reply

2 Alex May 22, 2009 at 4:00 PM

I didn’t think they did either, so I only said that they would work in Fire­fox & Safari. But accord­ing to Dou­ble Mule down there, they work in IE.

I’m sur­prised quite frankly!

Thanks for stop­ping by, really appre­ci­ate it. :)

Reply

3 kristarella May 22, 2009 at 7:41 PM

Sorry, I didn’t see the sen­tence about Fire­fox and Safari, and I re-skimmed the post in search of “IE” to make sure I didn’t put my foot in it, but failed.

They will also work in Camino (because it uses the Ghecko ren­der­ing sys­tem) and Chrome (because it uses webkit). Dou­ble Mule is mis­taken. :)

Reply

4 The Mules May 21, 2009 at 11:54 PM

We’ll admit it… we read and bobbed our heads like a team of halter-broken ponies as we read this in Firefox.

We then pasted the address into IE with the full expec­ta­tion that the rounded cor­ners would be leg­i­ble but exhibit squared edges.

Check our teeth and call us slouch-backed — they are round! In Inter­net Explorer. You sir, kick seri­ous tail. We shall eat a sugar cube in your honor. Per­haps several.

Reply

5 Alex May 22, 2009 at 4:03 PM

Woah, it works? I mean, yeah, duh! Of course it works.

Reply

6 Joreg - Nokia Mobil Talk May 22, 2009 at 11:13 AM

Great post, it seems even easy enough for me, I would like to see a post Footers

Reply

7 Alex May 22, 2009 at 4:03 PM

Hold that thought for a cou­ple more days…

Reply

8 R.J. May 22, 2009 at 11:26 AM

Nice job! This is some­thing I’ll def­i­nitely look into. Also, gives me incen­tive to start using thumbails.

Reply

9 Alex May 22, 2009 at 4:04 PM

I use thumb­nails both here (duh) and on my other blog, Blo­gus­sion. I think it adds a nice touch to the design, and if you have the time to make those lit­tle images then I say go for it.

Reply

10 Montana Flynn May 22, 2009 at 2:15 PM

What a great tut, I wish I used the­sis a lit­tle more now.

One quick note, on the SIMILAR STUFF list under the post you may want to add a list-style-type:none; to the css. Their is a black dot over the thumb­nail image.

Reply

11 Alex May 22, 2009 at 4:05 PM

Thanks Mon­tana!

I added it to the CSS, thanks. I never saw those boxes here, are they still there for you? Thanks for point­ing that out man.

Reply

12 Montana Flynn May 22, 2009 at 7:06 PM

Its fixed nicely now. Not sure what you meant by boxes though. Blo­gus­sion unfol­lowed me, :(

Reply

13 Alex May 22, 2009 at 7:08 PM

Sorry, I meant the bul­let you were talk­ing about.

Woops, I decided to try and use a cool Twit­ter tool to fol­low peo­ple who have fol­lowed us, and it looks like it unfol­lowed some peo­ple too? I’ll fix it for sure, sorry about that!

Reply

14 The Mules May 22, 2009 at 4:21 PM

Humans have a spe­cial sys­tem which allows them to regur­gi­tate their food. Mules do not. As such, the sugar cubes are unrecoverable.

And but oh how we should like to blame that pesky rooster — he has pulled some fast ones in his time. But we have no excuse but haste. The rounded cor­ners work lovely in Inter­net Explorer… because “Cus­tomiz­ing the out­put” has an image beside it. Not code.

Looks great in IE. Images often do. Can any­one help lead some of our num­ber out to pas­ture. It seems we’re over­due. That old gray mule in par­tic­u­lar — she’s not what she used to be.

Reply

15 kristarella May 22, 2009 at 7:46 PM

Heh, I was going to point those screen­shots out above, because I read this com­ment via email and had no idea what the heck you were talk­ing about! I get it now. :P

Reply

16 Montana Flynn May 22, 2009 at 7:11 PM

So I made a test page to see if it worked in Chrome, and all ver­sions of IE:

http://dev.complimedia.com/test.html

And I sub­mit­ted it to browsershots.org to see how it turned out, you might have to re-request the images depend­ing on if they take them down:

http://browsershots.org/http://dev.complimedia.com/test.html

Reply

17 Alex May 22, 2009 at 7:16 PM

I can’t see the pic­tures, so I just used a dif­fer­ent IE tool that will allow you to see the sitw from IE5.5-IE8 B2 and the cor­ners weren’t round.

http://ipinfo.info/netrenderer/index.php?browser=ie8&url=http://dev.complimedia.com/test.html

But I still think the box looks good with­out rounded cor­ners, that was just added for an extra effect.

Reply

18 Montana Flynn May 22, 2009 at 7:39 PM

Yes I agree, the rounded cor­ners are just extra icing on the cake. The rea­son I did this quick test was in response to ear­lier com­ments. Thanks for the netren­derer link, that is some­thing I have been search­ing for a long time.

Results:
Worked on google chrome, didnt work in IE 5.5−8… damn you IE! damn you to hell.

Reply

19 Alex May 22, 2009 at 7:44 PM

Man, for­get IE. :p I just don’t sup­port any­thing below IE7 anymore. =/

Reply

20 Montana Flynn May 22, 2009 at 10:28 PM

Ya pretty much, if I have the choice I code for stan­dards com­pli­ant browsers and IF LTE IE6 i put a nice warn­ing inform­ing vis­i­tors that their browser is out of date, a secu­rity risk, and is respon­si­ble for mess­ing up my design.

Some clients will insist u have IE 6 sup­port, well if thats the case just take out the CSS!

21 kristarella May 22, 2009 at 7:47 PM

I agree as well. They’re good with­out round, just a lit­tle some­thing for those with supe­rior browsers.

Reply

22 Matt Langford May 25, 2009 at 3:47 AM

Dude, you rock! (And thanks for the link!)

Write a few more posts like this and I’ll have no prob­lem writ­ing a “100 MORE The­sis Resources” post!

Reply

23 Alex May 25, 2009 at 9:34 PM

Well, there is a new one every Thurs­day! Just give me some time, I think I can hit 100!

Reply

24 blinkky May 25, 2009 at 8:53 AM

Very details tuto­r­ial. I always won­der how to do it.

Reply

25 Jorge - Nokia Mobile Talk May 25, 2009 at 10:32 AM

Hello Alex, I’ve copied every­thing as as explained and it shows up fine but the images are not show­ing up, I also changed the thumb­nails to show in the teasers 66×66, so hmm, any ideas

Reply

26 Jorge - Nokia Mobile Talk May 25, 2009 at 10:43 AM

thesis_thumb, In the the­sis post, cur­rently I don’t put a url for the thumb­nail, I let the­sis resize by itself, do I have to start putting a url here besides the Post Image, if so, then what, I just copy the same url

Reply

27 Alex May 25, 2009 at 9:36 PM

Just check the posts, a cus­tom field has to be made for the images, I’m 99% sure, even if it auto-resizes. Try using that cus­tom field instead of the one I said in the tutorial.

Reply

28 Jorge - Nokia Mobile Talk May 25, 2009 at 2:43 PM

Got it Alex, thanks any­way, hey they have to nec­es­sar­ily be 48×48 or can we tool around with this !

Reply

29 Alex May 25, 2009 at 9:37 PM

Any size you want, I just made them smaller so they don’t over­whelm anyone!

Reply

30 Jorge - Nokia Mobile Talk May 25, 2009 at 8:26 PM

Ok, so I added the the same url I add to the Post Image and they look great in the Pop­u­lar plu­gin but when the those are in the teaser the Thumb­nail Image is the same size as the reg­u­lar post image, big, not a lit­tle teaser 66×66, so I’m a bit confused.

I ended remov­ing the Thumb­nail Image url to have teasers go back to the The­sis Option default of 66×66.

So am I sup­pose to edit the Post Image to 48×48 via an Image appli­ca­tion for all my posts ie. paint.net etc. If so this seems kind off annoy­ing, although my gut instinct tells me that per­haps I’m miss­ing some­thing else. Would love your insights, its a great tuto­r­ial and I’m almost there, thanks again

Reply

31 Jorge - Nokia Mobile Talk May 26, 2009 at 12:21 AM

Thanks for answer­ing all my ques­tions, I finally have it working.

Hey sug­ges­tions why not fol­low up with the Sim­i­lar Posts setup from the same gen­tle­man of the recent, pop­u­lar, ran­dom post. So we add them to the post

Reply

32 Alex June 6, 2009 at 11:38 AM

You can just take the same con­cepts and apply them to the sim­i­lar posts plu­gin, but of course you can exper­i­ment with it and switch it up too.

Reply

33 James June 4, 2009 at 4:22 PM

Thanks for the great tip on cre­at­ing color wid­get boxes. I had looked before on the web, but couldn’t find anything.

Reply

34 Alex June 6, 2009 at 11:38 AM

Make sure to tell all of your The­sis using friends now. :)

Reply

35 Somone June 6, 2009 at 11:44 PM

Fan­tas­tic. Can you tell us how you do the sim­i­lar stuff and pow­ered by The­sis thing at the end of your posts? I found a tuto­r­ial for how Copy­blog­ger does it at the end of his but I can’t find it any­more! If any­one knows what site has it please let me know — oth­er­wise, I’ll wait for Asnio to explain.

This is a won­der­ful site for such a young soul. You are going to be amaz­ing when you have fin­ished school and have more time and free­dom to do what you want.

Reply

36 Alex June 6, 2009 at 11:50 PM

Thanks for the com­ment Somone!

I have included the post footer in a post on my other The­sis pow­ered blog here: http://www.blogussion.com/blog/thesis/4-ways-customized-thesis-theme

All you need to do is copy and paste into your source, and all should be fine!

I appre­ci­ate the com­ments toward this blog, really glad you like it. :)

Reply

37 ChasingSanity.com June 8, 2009 at 7:32 PM

Hey there, is there code that I can add into my own cus­tom wid­get? By that I mean, I want to make my own list of “Favorite Posts” and would like to have the back­ground a dif­fer­ent color, with a rounded bor­der, etc.

Thanks

Reply

38 Alex June 8, 2009 at 8:38 PM

Yes, just add the Text Box option in the Wid­gets panel, then open the source and find the ID of the box, then just edit it to fit into the code posted in this tutorial.

Do you under­stand what I’m saying?

Reply

39 ChasingSanity.com June 10, 2009 at 7:47 PM

Thanks for the rapid feed­back. I think I know what you’re say­ing, but I just tried that with http://www.elderguru.com — the “pop­u­lar posts” text wid­get in the left side­bar. I entered the fol­low­ing into my custom.css file, but noth­ing changed:

#text-455311921 li {
back­ground: #FFFBCC;
bor­der: 1px solid #E6DB55;
line-height: 1.4em;
–moz-border-radius: 5px;
padding: 0.9em;
–webkit-border-radius: 5px;
}

Reply

40 Alex June 10, 2009 at 7:50 PM

Flip that around, try this:

li#text-455311921 {

The code you have in your source is dif­fer­ent than mine, so a tiny adjust­ment is needed.

Reply

41 ChasingSanity.com June 10, 2009 at 8:16 PM

Oops — I should have caught that — thanks. It works now.

Is there any way to limit the width of the box to the width of the text? Mean­ing, right now it’s pushed right to the edge of the side­bar, it seems, fur­ther than any of the text in that side­bar. It looks a lit­tle strange that way.

Again, it’s on http://www.elderguru.com

Thanks again.

42 ChasingSanity.com June 10, 2009 at 8:17 PM

Never mind, I just adjusted the padding — duh! Thanks again.

Reply

43 Alex June 10, 2009 at 8:19 PM

Awe­some! Glad it works for you. :)

Reply

44 Jake_WebJourney June 16, 2009 at 9:15 PM

Cool, I actu­ally was won­der­ing how you did that to. I think I will imple­ment it on my blog. Thanks!

Reply

45 Alex June 17, 2009 at 6:09 AM

I’d love to see some color on your site when I go to it next. :)

Reply

46 Alex June 17, 2009 at 10:50 AM

Thanks for the tips. This is exactly what I was look­ing to do and you’ve explained it so clearly. I was won­der­ing if I might be able to apply to a cat­e­gory rather than use the plu­g­ins. I have my ‘Pop­u­lar Posts’ in a cat­e­gory of their own and I wanted to do that instead of using the plugin.

Do you know how I could do this?

Reply

47 Alex June 17, 2009 at 7:33 PM

You sure can Alex, try putting the code with this as the ID instead of the one I gave you:

.widget_popular li

So the CSS should be:

.widget_popular li{
	background: #FFFBCC;
	border: 1px solid #E6DB55;
	line-height: 1.4em;
	-moz-border-radius: 5px;
	padding: 0.9em;
	-webkit-border-radius: 5px;
}

Let me know if you have any problems!

Reply

48 Alex June 20, 2009 at 5:22 AM

Worked per­fectly! I always like to see if I can use some­thing more inline instead of adding more plu­g­ins if I can, so that tip is much appre­ci­ated. I wish I could use the thumb­nails too, but I’m not blessed with the great­est amount of band­width from my host, so I’m con­cerned it might be a prob­lem. Here I was think­ing Flickr was per­fect for me and my blog ^^”

Thanks again!
Alex´s last blog ..Week­end Round-Up 6/20 My ComLuv Profile

Reply

49 Sharon Hurley Hall July 2, 2009 at 4:22 PM

Hi, how can I use this specif­i­cally to style the Killer Recent Entries wid­get? Thanks for your help.
Sharon Hur­ley Hall´s last blog ..Free­lanc­ing Through The Sum­mer Vaca­tion My ComLuv Profile

Reply

50 Alex July 5, 2009 at 6:23 PM

That fea­ture uses the class of widget_killer_recent_entries, so we can eas­ily adapt the CSS code to make the Killer Entries work with this tutorial!

Try this out:

.widget_killer_recent_entries li {
	background: #FFFBCC;
	border: 1px solid #E6DB55;
	line-height: 1.4em;
	-moz-border-radius: 5px;
	padding: 0.9em;
	-webkit-border-radius: 5px;
}

Let me know!
Alex´s last blog ..7 Clever Strate­gies For Earn­ing More Fol­low­ers on Twit­ter My ComLuv Profile

Reply

51 Susan July 8, 2009 at 5:40 PM

Looks great, but I can’t get my wid­get to look like that. I want to have a spe­cific image and a link to one post in par­tic­u­lar (no date). I down­loaded the Post-Plugin Library and Ran­dom Posts plugin.

CSS
#random-posts li {
back­ground: #FFFBCC;
bor­der: 1px solid #E6DB55;
line-height: 1.4em;
–moz-border-radius: 5px;
padding: 0.9em;
–webkit-border-radius: 5px;
}

#random-posts img { float: left; padding-right: 8px; }

Ran­dom Post Out­put
{link}

Can I select the post and image for dif­fer­ent wid­gets.? Is this even the right plugin?

What set­tings do I use? How were you able to have so many wid­gets using the ran­dom plugin.

How do I add the image and link?

Clearly, I’m miss­ing some­thing here.

All I know is to cut and paste stuff and put it where it is rec­om­mended so I really need a basic step by step.

Thanks!

Reply

52 William Todd July 8, 2009 at 10:37 PM

Dear Alex,

Thanks! The boxes look great and I got it done first time through which says your tuto­r­ial was well writ­ten. Because the boxes are based on ‘teasers’ I find that there is dupli­ca­tion between the teasers them­selves and the boxes. Is it pos­si­ble to have your boxes not appear on the front page with the teasers but only in indi­vid­ual post pages?

Thanks again,

William
William Todd´s last blog ..The Horns of the Dilemma My ComLuv Profile

Reply

53 Alex July 8, 2009 at 10:49 PM

Hey William,

First, thanks for the com­ments on this tuto­r­ial! I appre­ci­ate it and am glad you are putting it to good use. :)

Since you use the recent post plu­g­ins, I guess that prob­lem would come up. But, like I said — the plu­g­ins by Rob Marsh are extremely ver­sa­tile and come with plenty of options! And there is an option that would fix this issue.

Take a look at this screenshot:

http://www.grabup.com/uploads/8d857c077ead6cad4b30c37d1eb24c8e.png

Basi­cally, you want to set “Omit lat­est post” to “Yes.”

Let me know how that works out for you.
Alex´s last blog ..4 Unusual (And Long Term) Ways to Pro­mote Your Blog Using Forums My ComLuv Profile

Reply

54 William Todd July 8, 2009 at 11:55 PM

Thanks. Almost what I wanted. I found the solu­tion on the plug in creator’s q&a:

#
I don’t want my post plu­gin wid­get to show on the main page, just the sin­gle post page. Is that possible?

Yes. The wid­gets now let you choose the con­di­tion under which they are vis­i­ble. The con­di­tion can be set using any com­bi­na­tion of Word­Press Con­di­tional Tags, e.g., ‘is_home()’, ‘is_category()’, or ‘is_page()’.

In this case the right con­di­tion is ‘is_single()’.

So I went to the place­ment page and added this code “is_single()” to the con­di­tion field in the out­put after wid­get sec­tion. That gave me what I wanted.

Thanks again,

William
William Todd´s last blog ..The Horns of the Dilemma My ComLuv Profile

Reply

55 Alex July 9, 2009 at 12:11 AM

Wow, hon­estly I just skimmed through your com­ment and thought I under­stood what you were ask­ing. Sorry, you must have thought I was crazy since that has like noth­ing to do with what you were asking!

Glad you got every­thing work­ing though!
Alex´s last blog ..4 Unusual (And Long Term) Ways to Pro­mote Your Blog Using Forums My ComLuv Profile

Reply

56 joseph July 10, 2009 at 4:36 PM

Does any­one know if this tuto­r­ial is work­ing on word­press 2.8? It is not work­ing for me.

Reply

57 Alex July 10, 2009 at 5:19 PM

This tuto­r­ial uses a plu­gin that is com­pat­i­ble with Word­press 2.8, and a lit­tle CSS. It should work, can I see your blog? And what have you done so far?
Alex´s last blog ..5 Funny Things Blog­gers Do To Make Their Blog Look More “Offi­cial” My ComLuv Profile

Reply

58 joseph July 16, 2009 at 6:53 PM

It is all good, stu­pid mis­take, I just for­got a } some­where and it caused a whole mess!

Thanks for the tuto­r­ial, it helped a lot. I was won­der­ing if you were going to be doing a tuto­r­ial show­ing how you made that slick sub­scribe box on your blo­gus­sion site. I have a few ideas for how to use some­thing like expand­ing from that kind of fea­ture and a tuto­r­ial as a jumpoff to start with would be great.

Any­way, keep it up, great stuff man.

Reply

59 Alex July 20, 2009 at 11:04 PM

I have actu­ally. I was going to do a 2 part tuto­r­ial on it!
Alex´s last blog ..6 Plu­g­ins You Should Always Have Ready For Blog Emer­gen­cies My ComLuv Profile

Reply

60 joseph July 24, 2009 at 10:30 PM

cool, i will keep my eyes open for it

61 Rand July 20, 2009 at 10:17 AM

Great arti­cle — I’ve applied your ideas to my sites side­bar — but have a ques­tion; while I can get the images to show up for the pop­u­lar post, how do I get gra­vatar images to show up for “recent com­ments”? Cur­rent out­put set­tings for pop­u­lar posts is:

{link}

How to I tweak this so I can get gra­vatar images to show up for the “recent post” plu­gin? I’ve been try­ing to fig­ure this out for a few days — if you’ve got the time to help it would be super appre­ci­ated :)
Rand´s last blog ..Pepsi; So-So Social Media Cam­paign. My ComLuv Profile

Reply

62 Alex July 20, 2009 at 11:11 PM

Hey Rand,

The code to put gra­vatars in it is: {gra­vatar}
Alex´s last blog ..6 Plu­g­ins You Should Always Have Ready For Blog Emer­gen­cies My ComLuv Profile

Reply

63 Rand July 20, 2009 at 11:17 PM

Hey Alex — ya I tried that, but then it puts in the default gra­vatar image — it can’t be css’d to look like the “pop­u­lar posts” images. Sorry I think I copy pasted it yes­ter­day but it seems it didnt take in last post — heres another attempt:

{link}

So here I’m able to make the “pop­u­lar post” pic smaller; but if I use {gra­vatar} then I’ll just get a big 80×80 gra­vatar sit­ting there; is there a way to request the gra­vatar, but then also have it css’d so it will look like the “pop­u­lar post” entry?

Thanks for your time btw — love the site — your links are very help­ful.
Rand´s last blog ..Pepsi; So-So Social Media Cam­paign. My ComLuv Profile

Reply

64 Rand July 20, 2009 at 11:21 PM

and another attempt: “{link}“
Rand´s last blog ..Pepsi; So-So Social Media Cam­paign. My ComLuv Profile

Reply

65 Rand July 20, 2009 at 11:23 PM

Hmm — sorry post­ing the code doesn’t seem to work; it keeps get­ting reduced to “link“
Rand´s last blog ..Pepsi; So-So Social Media Cam­paign. My ComLuv Profile

66 ZQ @ Travel Blog August 1, 2009 at 11:03 PM

This is an awe­some tuto­r­ial. Very easy to fol­low and i man­aged to get it work­ing for Pop­u­lar, Ran­dom, Recent posts within 15 minutes

Thanks. If you are inter­ested to see how i mod­i­fied it, check out my blog at PassportChop.com

ZQ
ZQ @ Travel Blog´s last blog ..Unusual Hotels: Sleep­ing in a Jumbo 747 Jet My ComLuv Profile

Reply

67 ronnell August 9, 2009 at 9:55 PM

Alex, Very nice info. Thank you! Keep it up.

How­ever, do you have any idea on How to remove the — “Recent Posts /Recent Com­ments / etc. ” in the h3 (i think)? Just like yours. No Header above the widgets.

Btw, I didn’t put any­thing in the Title of the wid­get so I am guess­ing there should be a tweak on it.

Thanks!

Reply

68 ankit September 3, 2009 at 6:46 PM

now thats the way to tell..I seen this post about 5–6 dif­fer­ent places..and i was try to cus­tomize my the­sis @ http://unlimitedblogging.com from last 3 days :(

now finally i reached here from google as i was look­ing for footer customization..and finally i was able to add side­bars as i wanted to..

Thanks alot..now i am try­ing to add footer wid­get i hope it will work..i vl let u know the update..
thanks
ankit´s last blog ..Fight stress– have sound sleep My ComLuv Profile

Reply

69 steppinout September 28, 2009 at 9:44 PM

Thanks for the great and easy tuto­r­ial. Love your info and shar­ing idea. Thanks once again
steppinout´s last blog ..Tips To Make Sure Your Spon­sored Themes Won’t Get You Banned From Search Engine My ComLuv Profile

Reply

70 Jonathan Garro October 1, 2009 at 2:54 PM

Its not work­ing on my blog. Wid­gets appear with­out any boxes. The plu­gin you refer to says its only WP com­pat­i­ble up to 2.6. Is there some way to make this work with other wid­gets besides the ones you men­tion?
Jonathan Garro´s last blog ..Inter­est­ing Baby Names and Stronger Patri­o­tism Through Kick­ball My ComLuv Profile

Reply

71 Pooja Arora October 3, 2009 at 5:27 PM

how to add Views and Com­ment count at the bot­tom of the recent post or pop­u­lar post ? because it’s not work­ing if we sim­ply replace date with view or com­ment count , any trick for doing this ?

Reply

72 Nash October 15, 2009 at 2:12 AM

Replace date with postviews…

Reply

73 PSP Go October 6, 2009 at 6:04 PM

Straight for­ward and easy to imple­ment. Thanks.
PSP Go´s last blog ..Buy Sony PSP Go – Quick Buy­ing Q&A My ComLuv Profile

Reply

74 Kelly October 17, 2009 at 2:06 AM

This worked. In the out­put tab, you have the thumb­nail size — width=“48” height=“48”

I just stum­bled upon it but if we don’t cre­ate the thumb­nails, the plu­gin will auto gen­er­ate the image to the right size.

If it does it on the fly like above, does the page load time increase com­pared to if the thumb­nails were cre­ated ahead of time?

Reply

75 mktanny October 30, 2009 at 2:04 PM

you are just cool –no words to thank u

Reply

76 Ricky November 11, 2009 at 6:23 AM

Thank you for the detailed tuto­r­ial. I guess I need to work other way as I do not own the­sis theme.
Ricky ´s last blog ..Remove Ikee iPhone Worm Easily[How-to] My ComLuv Profile

Reply

77 Rajesh Kanuri @ TechCats December 8, 2009 at 5:07 AM

excel­lent tips.. I m look­ing for this from a long time..
Rajesh Kanuri @ TechCats´s last blog ..Free Panda Cloud Antivirus Review My ComLuv Profile

Reply

78 aks December 9, 2009 at 3:47 PM

Great sug­ges­tions and exam­ples, espe­cially for a new­bie like myself who lacks a nat­ural sense of web design.

Reply

79 aks December 11, 2009 at 9:50 AM

one more good post read today. thanks for giv­ing this.

Reply

80 David Cook December 20, 2009 at 6:03 PM

Step 2 does noth­ing. Please see site as step 2 CSS code is inserted but you see noth­ing.
David Cook´s last blog ..rules My ComLuv Profile

Reply

81 Ricky December 26, 2009 at 6:57 AM

Recently I got the­sis theme. I was try­ing this hack it did work well for me but it doesn’t show images. I replaced the code with “thesis_post_image” but it still didn’t work.
I have cre­ated thumbnails.php file to call the thumb­nail but it still in vain.
Can you tell me the exact mean­ing of {custom:Image} in the code. If I am using my thumbanils.pho files then which func­tion am I sup­pose to call?
Ricky ´s last blog ..Upcom­ing genius in you blog and word­press theme My ComLuv Profile

Reply

82 Ricky December 26, 2009 at 6:59 AM

BTW I for­got to men­tion that I am not using the­sis teaser. I am just learn­ing the­sis.
Ricky´s last blog ..Upcom­ing genius in you blog and word­press theme My ComLuv Profile

Reply

83 Sam December 31, 2009 at 2:49 PM

You have great tips and tricks here. Much appreciated.

As much as I wanted to get the col­ored wid­get boxes to work for my recent posts, I did not. My recent posts are still look­ing just as drab as they were before I started. All the appro­pri­ate plu­g­ins are installed, I fol­lowed your guide, and noth­ing hap­pened. EXCEPT that recent post entries are now show­ing up under­neath each post in addi­tion to the drab list­ings in the widgets.

Can you help me?

Reply

84 Alex December 31, 2009 at 2:55 PM

Can you post the link to your blog?
Alex´s last blog ..2009 is Over. Where does that leave you for the New Year? My ComLuv Profile

Reply

85 Sam December 31, 2009 at 3:06 PM

You’re still hard at work?

Amaz­ing.

Here’s the link. Go easy. I’m still learning.

http://tr.im/J5HE

Thanks

Reply

86 Sam December 31, 2009 at 3:17 PM

I found out why the recent posts were show­ing up under my posts. I had checked a box in the place­ment set­tings for Recent Posts. That piece has been fixed.

Reply

87 Alex December 31, 2009 at 3:19 PM

Haha, I am try­ing to take it easy today, but I have so much to do that I want to get at least a few work related things done.

But, if you’re talk­ing about the side­bar recent posts, then that can’t be the right plu­gin. The plu­gin I used in this tuto­r­ial is by Rob Marsh, and his plu­gin uses the ID recent-posts.

But, this can still work…

Instead of using #recent-posts liin the CSS, use #tdd-recent-posts li and let me know what that does.

Reply

88 Sam December 31, 2009 at 3:27 PM

You are Sim­ply Genius. That worked.

But I do have Rob Marsh’s plu­g­ins installed and acti­vated. I won­der what more is going on then.

You have a fol­lower for life. Thanks again. I will keep you in mind also for some The­sis design work I might need.

Happy New Year.

89 Sam January 1, 2010 at 2:17 AM

Alex, I inad­ver­tently had another “recent posts” plu­gin acti­vated. I have it right now.

Thanks again.

90 avinash January 6, 2010 at 5:38 AM

thanks for this type of article.after a along surf­ing i got this one.nice tips.thanks again.

Reply

91 Holly January 11, 2010 at 11:56 AM

The float­ing image aligns all text that fol­lows to it’s right, includ­ing the image below and so on. What am I miss­ing to make each float­ing image and it’s respec­tive text indi­vid­ual boxes, and sep­a­rate from those fol­low­ing, regard­less if the text is enough to fill the height of the image? You can see my prob­lem on this page: http://footballprime.com/holly3/
I am try­ing to use it in the tabbed wid­get using these same plu­g­ins found here: http://mattflies.com/tech/tabbed-widget-tutorial-for-thesis-wordpress-theme/
Thanks!

Reply

92 Tech Maish January 16, 2010 at 2:59 PM

This is great arti­cle. Thank you for this use­ful post.
Tech Maish´s last blog ..20 Most Pop­u­lar Ways to Pro­mot Your Blog My ComLuv Profile

Reply

93 Club Penguin March 6, 2010 at 2:26 PM

This has really helped me to cus­tomize the look of my web­site!
Club Penguin´s last blog ..Free Club Pen­guin Account My ComLuv Profile

Reply

94 Shubham March 8, 2010 at 2:27 AM

great wid­get boxes…simply amaz­ing..!
Shubham´s last blog ..20+ Color Tool For Web Designers/Webmasters and CSS Geeks My ComLuv Profile

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled