Posts tagged with: Hacks

Replacing “No comments” with “Leave a comment” in WordPress

Many WordPress themes display the number of  comments. The number of comments is a way to show which posts are popular and which are not. The number of comments show a social proof. For a new blogger, or a blog which doesn’t receive many comments, this can be a challenge.

Unfortunately many of the themes are too blunt when there are no comments. For new bloggers and blogs, it’s not uncommon to see “No comments” or “0 comments” on a blog post. Wouldnt’ it be better if it would say “Leave a comment” or “Start the discussion” instead? This post will show you how to do it…

Click to read

Other Tags: How-To, php, WordPress
Topic: WordPress

How to show number of comments in WordPress

If you’re looking to get more blog comments, you should display the number of comments in your blog to act as a social proof. You should also encourage and ask people to leave comments. Both of these can be done via simple hacks to your WordPress theme.

In this post, I’ll show how to show number of comments in WordPress, and the next post shows specifically how to add call to action into comment links by modifying the “No comments” into something like “Start a discussion” instead.

Click to read

Other Tags: How-To, php, Questions & Answers, WordPress
Topic: WordPress

How to show feedburner subscriber & Twitter follower counts

Code is PoetryWant to display your Feedburner RSS subscriber numbers on your blog? And maybe to show off your Twitter follower count as well? Look no further, you can find how to do that in this post.

I’ll show you the easy way (using buttons from a service). And I’ll show you a better way. It requires tweaking some PHP-code and your theme/template files, but if you’re used to edit your files already, this will be easy.

With the better, more advanced way, we’ll be getting the subscriber and follower counts as plain text, and then have all the control how to display the numbers any way we like and use CSS to make it all look nice.

Click to read

Other Tags: Feedburner, How-To, php, Source Code, Twitter, WordPress
Topic: Blogging