<   Prior Home         Share Blog Bloke     Share Blog Bloke Tips       Share to Twitter       Share to Facebook       Share to Twitter       Share to Google Plus       Share to LinkedIn       Pin this       Get Updates            
        Next   >  

Comments Hack for Blogger Users

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.

Written September 24th, 2007 by | 18 Comments | Filed under: Blog Tips, Blogging Tips, Tutorials , , , , ,

Thanks for Sharing     Share - enable java in your browser Share to Twitter            

Did you enjoy this article? Keep up to date with Blog Bloke Tips the moment it's published by email. Your Privacy is Guaranteed and will not be shared with anyone.


Keep it real with Blog Bloke Thanks for reading the original Blog Bloke. You can read more about me here. Contact me if you have any questions, tip requests or if you would like to be a guest blogger. Keep it real every day and subscribe to the newsfeed, share with friends or follow me.

    Subscribe to the Newsfeed     Share to Twitter     Share to Facebook     Share to Google Plus     Pin this     Share to LinkedIn


Got an opinion? Let's be real and start a conversation:

It's your turn to tell Blog Bloke what you think, ask a question or suggest another blog tip. Don't forget the comments policy and I'm looking forward to reading what you have to say.

There are 18 Comments 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   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

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

      Reply   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

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

      Reply   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

  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   ·   Share Share Blog Bloke Tips  

    Reply by: Blog Bloke at 8:55 am said...

    Use these brackets <>

      Reply   ·   Share Share Blog Bloke Tips  

  10. Like this??

    Ashleigh’s last blog post..photofriday…

      Reply   ·   Share Share Blog Bloke Tips  

  11. (

    )

    Ashleigh’s last blog post..photofriday…

      Reply   ·   Share Share Blog Bloke Tips  

  12. 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   ·   Share Share Blog Bloke Tips  

    Reply by: Blog Bloke at 9:29 am said...

    The code goes inside the <> brackets

      Reply   ·   Share Share Blog Bloke Tips  

  13. 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   ·   Share Share Blog Bloke Tips  

  14. Hi BB!

    Hope this works on my blogspot. I am using new blogger

    I’ll be back to confirm

    Walkdan

      Reply   ·   Share Share Blog Bloke Tips  

  15. Awesome ! Article was so commendable . I hope you will give more information ………………………………………………..
    Regards

      Reply   ·   Share Share Blog Bloke Tips  

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

Share     Share this article with your friends

Subscribe to Better Blog Tips Newsfeed   SUBSCRIBE to Bloke Bloke's Articles (Newsfeed)

Subscribe to Better Blog Tips Newsfeed   Subscribe to only Comments for this Article | TrackBack URL

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