Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-10-01 05:56:44

biggles
Member
Registered: 2007-10-11
Posts: 24

Re: How do I make the number of comments link to the comments?

Following Kitikat’s posts about comment numbers and links, how do you make the link, ie: COMMENTS (4), link directly to the first comment of that article (as opposed to going to the top of the article)?

UPDATE 2/10/2008

Whoops, sorry – I had a look around and I found out! It’s done like this:-

<a href=”<txp:permlink />/#comment”>Comments (<txp:comments_count />)</a>

This links the COMMENTS (4) link directly to the h2 title ‘Comments ‘ at the top of your list of comments.

Last edited by biggles (2008-10-02 05:30:52)

Offline

Board footer

Powered by FluxBB