Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
how to get a title tag in to this form?
Hi,
I have this form to display links and a link description from a certain category:
<code>
<li><p><txp:link /></p>
<p class=“desc”><txp:link_description /></p></li></code>
it outputs this code:
<code><li><p><a href=“http://www.antitext.com”>antitext.com</a></p>
<p class=“desc”>brilliant collage work from mr Antitext</p></li></code>
I really want to get a title tag in there after the href but i dont know how to do it. I.e:
<code><li><p><a href=“http://www.antitext.com” title=“permanent link to this article”>antitext.com</a></p></code>
Anyone know?
Last edited by elduderino (2006-08-02 14:16:04)
Offline
Re: how to get a title tag in to this form?
If you’re dealing with permlinks for articles, not linklists, you could use <a href="<txp:permlink />" title="foo"><txp:title /></a>, though you’d need to turn comments auto_append off, if this is being used outside of an article body.
Offline
Offline
Pages: 1