Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-07-08 12:05:55
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
display comments as unodered list with id
by default comments are displayed as odered list. but is it possible to display them as unodered list with id=“comments”?
Offline
Re: display comments as unodered list with id
- See <txp:comments />.
- Bookmark Tag Reference
- There is no attribute for an ID. You can either wrap comments with an container that has
id="comments"
etc, or if you need the id for link anchor, you can just set the id to anywhere you want to.
For example:
<div id="comments">
<txp:comments wraptag="ul" break="li" />
</div>
Or:
<ul id="comments">
<txp:comments wraptag="" break="">
<li>
<!--
Plah
-->
</li>
</txp:comments>
</ul>
Last edited by Gocom (2010-07-08 12:19:01)
Offline
#3 2010-07-08 13:03:45
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
Re: display comments as unodered list with id
thank’s
Offline