How to Create a Standout Featured Content Section on Your Blog's Homepage

After thoroughly examining extensive code and undertaking a considerable effort to enhance my template for threaded comments, I discovered a significantly more straightforward approach to incorporate this feature into older Blogger templates.

To assist others utilizing a custom Blogger template in integrating threaded comments on their websites, I have compiled a concise tutorial. In contrast to my initial method, this new approach will enable you to implement comment replies swiftly and efficiently.



Ensure your blog meets the requirements for threaded comments to be displayed

Two major steps to enable threaded comments in blogger site:
Ensure that your blog feeds are set to "Full" in settings> Other
Choose to "embed" you comment form under the post in settings > Posts and Comments.
Once you have completed save these changes.

Now let's hop into the blogger template HTML code.


    Add the required code to your Blogger template

    • Go to Template and click the Edit HTML button. 
    • On the warning page, choose to proceed, then make sure you have checked the "Expand Widget Templates" box.
    • Now search for the following line of code
    <b:include data='post' name='comments'/>

    • If your template does not include this line of code, chances are you're already using an updated Blogger template and do not need to proceed any further.
    • If you do find the above line of code, replace it with the following:

    <b:if cond='data:post.showThreadedComments'>
      <b:include data='post' name='threaded_comments'/>
    <b:else/>
      <b:include data='post' name='comments'/>
    </b:if>

    Preview your template to ensure you haven't made any mistakes in pasting the code, and if all is well, save your template.

    When you examine the comments section of a post, you will notice a "Reply" link located beneath each existing comment. Upon selecting this link to respond to a comment, a comment form will be displayed directly under the comment to which you are replying, and your responses will subsequently be positioned below.

    Post a Comment

    Previous Post Next Post