Comment Link Next to Blogger Post Title
Before |
After |
Step 1:
Backup your template by going to Dashboard - Template - Backup/Restore - Download Full Template. Next, go to Dashboard - Template - Edit HTML - Find and delete the following lines:
Screenshot of the lines to be deleted:
Backup your template by going to Dashboard - Template - Backup/Restore - Download Full Template. Next, go to Dashboard - Template - Edit HTML - Find and delete the following lines:
<b:includable id='post' var='post'> <div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <b:if cond='data:post.firstImageUrl'> <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> </b:if> <meta expr:content='data:blog.blogId' itemprop='blogId'/> <meta expr:content='data:post.id' itemprop='postId'/> <a expr:name='data:post.id'/> <b:if cond='data:post.title'> <h3 class='post-title entry-title' itemprop='name'> <b:if cond='data:post.link'> <a expr:href='data:post.link'><data:post.title/></a> <b:else/> <b:if cond='data:post.url'> <b:if cond='data:blog.url != data:post.url'> <a expr:href='data:post.url'><data:post.title/></a> <b:else/> <data:post.title/> </b:if> <b:else/> <data:post.title/> </b:if> </b:if> </h3> </b:if>
Screenshot of the lines to be deleted:
Step 2:
Copy and paste the following lines in place of the deleted lines in Step 1, then click on 'Save Template'.
Copy and paste the following lines in place of the deleted lines in Step 1, then click on 'Save Template'.
<b:includable id='post' var='post'> <div class='post hentry' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <b:if cond='data:post.firstImageUrl'> <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/> </b:if> <meta expr:content='data:blog.blogId' itemprop='blogId'/> <meta expr:content='data:post.id' itemprop='postId'/> <a expr:name='data:post.id'/> <b:if cond='data:post.title'> <h3 class='post-title entry-title' itemprop='name'> <b:if cond='data:post.link'> <a expr:href='data:post.link'><data:post.title/></a><span> | </span> <span class='post-comment-link spk-title-comment'> <b:if cond='data:blog.pageType != "static_page"'> <b:include data='post' name='comment_count_picker'/> </b:if> </span> <b:else/> <b:if cond='data:post.url'> <b:if cond='data:blog.url != data:post.url'> <a expr:href='data:post.url'><data:post.title/></a><span> | </span> <span class='post-comment-link spk-title-comment'> <b:if cond='data:blog.pageType != "static_page"'> <b:include data='post' name='comment_count_picker'/> </b:if> </span> <b:else/> <data:post.title/><span> | </span> <span class='post-comment-link spk-title-comment'> <b:if cond='data:blog.pageType != "static_page"'> <b:include data='post' name='comment_count_picker'/> </b:if> </span> </b:if> <b:else/> <data:post.title/><span> | </span> <span class='post-comment-link spk-title-comment'> <b:if cond='data:blog.pageType != "static_page"'> <b:include data='post' name='comment_count_picker'/> </b:if> </span> </b:if> </b:if> </h3> </b:if>
That will be all. Happy trying :)
No comments:
Post a Comment