Comments Hack for Blogger Users

September 24th, 2007 by Blog Bloke | 16 Comments

Bloge Bloke's Blog TipsThis post is for Blogger users who are unsatisfied with the way their comments work. Believe me when I say one of the biggest complaints that I have with Blogger is its commenting feature.

Have you ever noticed the default for Blogger templates makes the comment link on the main page open Blogger’s comment window instead of taking your readers to the comments section on your post page like Wordpress does?

Have you ever wanted to make your comments work more like Wordpress comments do? Then this hack is for you.To see how it works click on the comments link above and you will see that it automagically takes you to the comments section on the post page. Cool.So why would you want your comments to act this way? Because often viewers just want to read the comments and not necessarily add one.Yes, I know that you can still read viewers comments on Blogger’s pop-up window but it is ugly and cannot be formatted to look like it’s integrated into your blog.Note: Before we continue any further I should mention this hack is for New Blogger users only. As I recall classic Blogger templates already do it right out of the box and there should be no need for this hack.So if you want your comments to work like mine this is what you do. It’s so easy you will kick yourself for not doing this sooner.

Go into your template (’edit HTML’) section and look for this code (remember to save your template before making any changes and click on the ‘Expand Widget Templates’ box):

a expr:href=’data:post.addCommentUrl’ expr:onclick=’data:post.addCommentOnclick’

Now change it to the following. You can cut and paste if you like but just be certain that you put the code within brackets or it won’t work:

a expr:href=’data:post.url + “#comments”‘

And that’s it! Easy peasy.

Similar reading: Comments that SUCK Less! A Hack for Blogger Users

What now? If you like this post:

Leave a Comment and join the conversation..

blog tip with your friends if you liked it

Subscribe to the RSS Newsfeed for more Blog Tips!

Related Blog Tips @ Blog Bloke:

Leave a Comment here.. Ok Blokesters, it's your turn to tell me what you think, ask a question or suggest a blog tip. Don't forget the comments policy and thanks for reading.

16 Responses so far to “Comments Hack for Blogger Users”

  1. Bloke — I’m in love with you. I used your tips for making my comments suck less (previous post), and now they’re even better with this new technique. The gifts keep coming.

    Now, is there a way to make the text “Post a comment” larger and boldfaced? When readers get to the bottom of a series of comments, I would like to make Post a Comment more prominent.

    Thanks, as always. You always seem to know when I need a new tip.

    [Reply to this comment: The author will be notified.]

  2. Sure Kathy. Flattery will get you everywhere :)

    Just search in your edit template (ctrl-F) for the words “Post a comment”.

    So you would make it look something like this:

    < strong >< font size='4' >Post a comment< /font >< /strong >

    As you can see I’m just adding bold and font tags to make it stand out more. You can change the font size to anything you want, but be sure to close up the <> brackets for it to work.

    Hope that helps.

    [Reply to this comment: The author will be notified.]

  3. BB– I did actually search for that string, but couldn’t find it. Still can’t. I did expand my widgets. Still not there.

    I’ll keep poking around myself, but if you have an ideas, I’m all ears.

    Thanks a bunch.

    [Reply to this comment: The author will be notified.]

  4. It should be right after the following code:

    < p class='comment-footer' >
    < a expr:href='data:post.addCommentUrl' expr:onclick='data:post.comments' >

    [Reply to this comment: The author will be notified.]

  5. bb, how about the old template [classic]. Can it be done?

    [Reply to this comment: The author will be notified.]

  6. Great discover BB, even when I am not using that kind of string I think it’s a huge benefit for a lot of Blogspot bloggers. Keep tricks coming!

    [Reply to this comment: The author will be notified.]

  7. Thanks Tonnet. It’s good to see you back commenting again.

    [Reply to this comment: The author will be notified.]

  8. Hi Kher. I thought classic templates did this automatically. Hmm, I would have to look back at my old code to see how I did this but I lost all my data with the last computer crash. I will have to think about this.

    Just a thought though, why haven’t you upgraded to a new blogger template? I know it seems intimidating, but the benefits are worth the change such as being able to use your own custom domain (to name a few).

    [Reply to this comment: The author will be notified.]

  9. hi…

    I’m trying to add your helpful code (a expr:href=’data:post.url + “#comments”‘) BUT where do I put the brackets. I use the new blogger.

    HALP!

    =)

    Ashleigh’s last blog post..Let’s take a hike…

    [Reply to this comment: The author will be notified.]

    Use these brackets <>

    [Reply to this comment: The author will be notified.]

    Blog Bloke reply on May 30th, 2008 8:55 am:

  10. Like this??

    Ashleigh’s last blog post..photofriday…

    [Reply to this comment: The author will be notified.]

  11. Where do I put them?

    I tried to the show the code that I have and it will not let me.

    =(

    Ashleigh’s last blog post..photofriday…

    [Reply to this comment: The author will be notified.]

    The code goes inside the <> brackets

    [Reply to this comment: The author will be notified.]

    Blog Bloke reply on May 30th, 2008 9:29 am:

  12. Learn how to protect yourself in my forum.

    Hi I am currently looking for some people to take up the staff positions in my Computer security forum & pen testing. Just go to the forum and apply to be staff.

    Thanks

    [Reply to this comment: The author will be notified.]

  13. […] Comments Hack for Blogger Users […]

Leave a Comment and Join the Conversation...

Subscribe to Better Blog Tips and the New Media Newsfeed Subscribe to comments for this post by RSS | TrackBack URL

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

I love comments and I'm looking forward to reading yours. Thanks for dropping by and don't forget to Subscribe to the Blog Newsfeed Subscribe to Better Blog Tips and the New Media Newsfeed