Blogger Hacks, Categories, Tips & Tricks

Friday, June 30, 2006
Comment Count on Recent Posts Menu
My occasional trawl through the digests of the Blogger User's Yahoo Group reveals an interesting outcome of the old-school "stack up default blogger tags in a funky and unexpected way" modification strategy. Want to show a comment count in your sidebar recent posts menu? Bob Afifi contributed the following stack o' tags to the forum:
<h2 class="sidebar-title">Previous Posts</h2>
<ul id="recently">
<bloggerpreviousitems>
<li><a href="<$BlogItemPermalinkURL$">"><$BlogPreviousItemTitle$></a><a class="comment-link" href="<$BlogItemCommentCreate$">"<$BlogItemCommentFormOnclick$>>
(<$BlogItemCommentCount$>)</a></li>
</bloggerpreviousitems>
</ul>
& they seem to get the job done just great. Very cool!

Filed in:
Posted at 9:22 AM by John.
3 Comments:
<    >
Blogger Avatar X said...
This comment has been removed by a blog administrator.

<    >
Blogger Avatar X said...
This comment has been removed by a blog administrator.

<    >
Blogger Avatar X said...
yeah, i blogged about it a month ago, but the code was shorter and from someone else.

http://bloggeratto.blogspot.com/2006/06/comment-count-in-previous-posts-list.html


-DonĀ“t know what happenned with the repeated comment entries...


eXTReMe Tracker