Textpattern plugin : ajw_comment_num
09 March 2005 @ early morning | Comments (5)
Plugin Details
- Download:
- ajw_comment_num
- Version:
- 0.2
- Forum:
- Read discussion
- Status on this site:
- Active
Please use forum for all bug reports and questions
Summary
Allows for outputting current comment number. Intended usage is from within default comment form.
Examples
Ideally, this is meant to be used in your default comment form. While it is possible to use this plugin with the default <ol> formatting of comments, you’ll be able to do much more fun things if you switch off numbered list formatting in admin->preferences.
<div id="comment-<txp:ajw_comment_num />">
<span class="comment-num"><txp:ajw_comment_num /></span>
...other comment form stuff...
</div>
Result:
<div id="comment-1">
<span class="comment-num">1</span>
...other comment form stuff...
</div>
Revision History
v0.2
- Fixed incrementing bug associated with using multiple tags in one comment form
5 comments