I found this code in the post on Thursday, May 31, 2007 welcometojackass.blogspot.com. The blog no longer exists ...
used to create your own "comments" in the footer of each post.
So: at the bottom of each post, next to the author, date and time of publication, there is a link to comments.
The word "comments" you seem neutral, tasteless? Well, the you can replace with another or with a phrase that gives a personal touch to your blog. For example: "Who says I", "Other views", "Add your opinion", etc..
Go to your blog, login, click on the link at the top right NEW POST, the page that opens go to the Design tab, EDIT HTML sottotab and tries to break this code :
\u0026lt;span class='post-comment-link'>
\u0026lt;b:if cond='data:blog.pageType != "item"'>
\u0026lt; b: if cond = 'data: post.allowComments'> \u0026lt;a
class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'> \u0026lt;b:if cond='data:post.numComments == 1 1'> \u0026lt;data:top.commentLabel/> \u0026lt;b:else/> \u0026lt;data:post.numComments/> \u0026lt; Date: top.commentLabelPlural /> \u0026lt;/ b: if> \u0026lt;/ a>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ span> I find about half of my html. and replace it with the following :
\u0026lt;span class='post-comment-link'>
\u0026lt;b:if cond='data:blog.pageType != "item"'>
\u0026lt;b:if cond='data:post.allowComments'>
\u0026lt;a class = 'comment-link' expr: href = 'data: post.addCommentUrl' expr: onclick = 'data: post.addCommentOnclick '>
\u0026lt;b: if cond =' data: post.numComments == 1 '> POST THIS COMMENT, TELL ME WHAT YOU THINK! (\u0026lt;data:post.numComments/>) \u0026lt;b:else/> Comment on this post, TELL ME WHAT YOU THINK! (\u0026lt;data:post.numComments/>) \u0026lt;/ b: if> \u0026lt;/ a>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ span> In the spaces highlighted in yellow write what you want. Save the template and publish. If you're lucky, you can now see the effect of your sentence instead dell'asettico "comments" and the number of entries is between parentheses to the right (not the left as before).
If you are not lucky , I plug my ears while you send me damn it. Did you remember to take a backup of model before changing the code?
PAY ATTENTION
From 2007 to 2010, perhaps something has changed ... I like that the code is not written by Jackass, mine is this:
\u0026lt;span class='post-comment-link'>
\u0026lt;b: if cond = 'data: blog.pageType! item = " " '>
\u0026lt;b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
</b:if>
</b:if>
</b:if>
\u0026lt;/ span> As you can see there is one more line (and closing more). But it was enough to copy from \u0026lt;a class to \u0026lt;/ a> leaving the rest unchanged. If you have a different code, ragionaci a bit 'before you act ... way, do you like my sentence a little 'lollipop?
newbie;)
0 comments:
Post a Comment