7 Jan 2013

couch mode print story

How to change Blogger "Post A Comment" Message

In this tutorial i will show you how to replace the 'Post A Comment' text that appears above the comment form with an image. Also, I will make available to you a few cool images or you can add your own image if you like... so let's get started.



How to replace Post a Comment with an image

To replace  "Post A Comment" message in your Blogger / Blogspot blog follow the next steps:

Step 1. Log in to Blogger, go to your Blogger Dashboard >> Design >> Edit HTML

Step 2. Tick the "Expand Widget Templates" checkbox.

Step 3. Now search (CTRL + F) for the code marked in red:

<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>


...and for this one too:

<h4 id='comment-post-message'><data:postCommentMsg/></h4>

Step 4. Replace <data:postCommentMsg/> with one of the below images codes:


<img src="http://1.bp.blogspot.com/-DuwsWbCqRag/T3Mxtrye2zI/AAAAAAAABkA/AqMIP-ybAWQ/s1600/leave+a+comment.png" />


<img src="http://2.bp.blogspot.com/-gQV9PoM4FeA/T3M1tOg6C3I/AAAAAAAABkI/OTq4DAbkEPo/s1600/Post+a+comment+blogger.png" />


<img src="http://4.bp.blogspot.com/-wX61ZaQ1piI/T3M3FKUaGhI/AAAAAAAABkQ/y409edvuAQA/s1600/animated+comment+arrow.gif" />


<img src="http://1.bp.blogspot.com/-bIOcD7FxKXw/T3M4LpQ0XFI/AAAAAAAABkg/z_sHmmnKwgs/s1600/leave+a+comment2.png" />


<img src="http://4.bp.blogspot.com/-0j9qVbZuAtc/T3M6HP2tT6I/AAAAAAAABkw/imDcGGmxOiU/s1600/comment.gif" />

You can use your own image instead. Just upload your image on Blogger, switch to Edit HTML tab, copy the image code and replace <data:postCommentMsg/> with your code.

UPDATE! Step 5. The first steps will replace the text only when there are no comments available. To show the image each time new comments are added, we should add the code of the image we want to appear after the 4th of the below code (search 4 times for it):

<p><data:blogCommentMessage/></p>

Step 6. Save Your Template.


Thats it! I hope you like your new comment form !

5 comments:

  1. Make sure the things in your home are insured before you plan any repairs.
    Bring your laptop, most places have internet access. It is important to settle agreements between the two parties through documentation.



    Also visit my weblog ... basement finishing atlanta

    ReplyDelete
  2. QA stands for Quality Assurance, just in case you
    were wondering. At least we earn money from doing something that we really loved.
    You can drive some of the best luxury cars, as well as tuners,
    muscle cars, and motorcycles.

    my blog post ... & - howtobecomeagametester.webs.com -

    ReplyDelete
  3. This may be your so the next time you need money you're
    not having to rely on a company to give you a loan.
    After the lender has checked and approved all of the standard home loan requirements,
    a loan commitment letter will be issued and sent to you.
    As opposed to credit cards, personal loans provide inexpensive sources of
    funds.

    Have a look at my weblog :: Hometown Lenders LLC

    ReplyDelete
  4. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do. Libri PDF

    ReplyDelete

Blogger Widgets