donalyza.com

Avatar

Hello! I'm Donalyza Agaton, a Blogger who loves Web Design, a rock and r&b Audiophile, a psp Gamer, a hobbyist Photographer, an amateur Videomaker, a gadget geek Girl, and a proud Filipino.

donalyza: Yehey its now drizzling in Quezon City-finally!, on my way to the airport to drop-off my dad. He's back to work. 16 hrs ago

How To: Customize your own style in showing the number of comments

Posted in: WordPress

It’s not hard to make your theme unique. Probably some of you are using a free WordPress theme and somehow you almost have an identical blog with a co-blogger. Changing the colors, fonts, header can do the trick to tell your readers this is different from the others. Here one way to tweak your blog in your own style by changing the way your number comments appear.
This tutorial is not limited for those bloggers who uses free themes it’s also for those bloggers who have a design of their own theme. You might get bored seeing your blog with 0 comments, 1 comment, 2 or more comments and would like to customize them. This will also encourage your readers to leave a comment. Well if you don’t get the picture of what I’m saying just look at the image below to understand.

Image Hosted by ImageShack.us

Below are some samples I found in the blogosphere.

Image Hosted by ImageShack.us

- used to be from carlocab.com. It changed after replacing a new theme.

Image Hosted by ImageShack.us

- from shoemoney.com

Image Hosted by ImageShack.us

- from johncow.com

You want to learn how they did it?

With these 3 easy steps you can come-up with your own style.

1. Open your index.php and/or single.php.

2. Edit each page and look for the lines that read.

< ?php comments_popup_link('No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>

3. Change the way you want them to appear in your page. Style your own comments by changing only the one on red marks.

< ?php comments_popup_link('Leave a comment »’, ‘1 Comment - Want to Join Him? »’, ‘% Comments - Want to Join Them? »’); ?>

How about you? What’s your style? ;) Care to share?

Don't miss any post. Subscribe to RSS or by email now.
Tags: ,

Comments

RSS feed | Trackback URI

1 Comment »

Your Ad Here

Trackback responses to this post

Leave a Comment, Win a Friend!

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
blog stats