publish your ads here for free trial



Selasa, 28 April 2009

Add Missing Embedded Comments Form to Blogger

Today I will show you how to fix your Blogger template if the embedded comments feature is missing or not working. I decided to write this article because I have noticed that the embed a comment below the post feature is often not working in many Blogger custom templates available for download. This is usually because many of these templates were released prior to Blogger enabling embedded comments.

If you have downloaded a custom template that has embed a comment missing then read on as I will show you how to insert the code for embed a comment form into your template. Inserting code into a blog template can be challenging for some but if you follow these instructions it is not beyond even virtual beginners.

1. Login to Blogger if you are not already logged in

2. Navigate to Settings > Comments. Under Comment Form Placement make sure the Embedded below Post radio button is set. Save any changes you make.

In Blogger Settings Comments Set Comments to Embedded

3. Navigate to Layout > Edit HTML

4. I strongly recommend you back up your template by downloading it to your computer before proceeding

4. Check Expand Widget Templates

5. Use CTRL + F to bring up the Blogger Toolbar

6. Look for the following code block by entering <span class='paging-control-container'> into the find box on the toolbar. Note if you don't have this code look at the alternative option below #7 in this post

<b:if cond='data:post.commentPagingRequired'>
<span class='paging-control-container'>
<a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
<data:post.oldestLinkText/>
</a>
<a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
<data:post.olderLinkText/>
</a>
 
<data:post.commentRangeText/>
 
<a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
<data:post.newerLinkText/>
</a>
<a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
<data:post.newestLinkText/>
</a>
</span>
</b:if>


7. Paste the following code into your template immediately after the code block above and before this line of code <div id='backlinks-container'>

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if>
</b:if>
</p>
</b:if>

Enter the Embed Comments Form into Blogger Template
Alternative Option
If you don't have the code as mentioned in #6 you will likely have the following:

<p class='comment-footer'>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> </p>
</b:if>

In which case replace with this code:

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if>
</b:if>
</p>
</b:if>

8. Click on the Save Template button to save your template changes

9. Click on the View Blog link and test your embed comment feature by clicking on the number of comments link found at the bottom of each post. Notice that the post will now be displayed along with the embed a comment form below the post



Troubleshooting
As there are many variations amongst templates neither of these options may work in which case try this solution from Blogger Buster:

Find: <b:include data='post' name='comments' />

Immediately below this line add the following line:
<b:include data='post' name='comment-form'/>


In this tutorial I have shown you how to add the embed comments form into your custom Blogger template if it is missing so that visitors can comment easily.

Related Articles
Embed a Comment Form in Your Blogger Posts

0 komentar:

Posting Komentar

Popular Posts

Categories

3 column footer 4 column footer AddThis Social Bookmarking Amazon Analytics Banners and Advertising Blockquotes in Blogger Blog Directories Blogger Analytics Blogger and Facebook Blogger Comments Blogger CSS Help Blogger CSS Tutorial blogger description Blogger Feed Tips Blogger Footer Blogger Gadgets Blogger Image Border Blogger Images Blogger Meta Tags blogger meta tags tutorial Blogger Navigation Blogger Pitfalls Blogger Profile Images Blogger SEO Blogger Sitemaps Blogger Template Minima Blogger Templates Blogger Tutorials Blogging Tips and Tricks Blogspot Blogging Blogspot Meta Tags Blogspot Tutorials Borders in Blogger Buttons for Blogger Buttons for Blogger Comments Comments Counter CSS in Blogger CSS in Blogspot CSS styling CSS styling in Blogger Customise Blogger Customize Blogger Templates Customize Blogger Tips Drop Down List Drop Down Menu Drop Down Menu Widget Earn Money Online Expandable Post Summaries Expandable Posts Feeds Free Social Bookmarking Gadgets for Blogger Google Adsense Google Rankings High Paying Keywords Increasing Site Traffic Jump Breaks Keywords Make Money Make Money Adsense Make Money Blogging Make Money Online Making Money from Blogger Meta Tags Tutorial Monetize Blogger Popular Articles Posting in Blogger Posting Tips Read More Remove Navbar Search Engine Optimisation SEO SEO Tips and Tricks Sitemaps Social Bookmark Social Bookmarking Social Bookmarking Script Social Media Solutions to Common Blogger Problems Tables for Blogger Tracking Visitors Useful Blogging Tools Widgets for Blogger

Text Widget

Scroll To Top