Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-06-19 15:21:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,362
Website

add link id to link

It would be nice if we could have something like <txp:link id="32" rel="external" /> in our armoury. This could parse into <a href="http://domain.tld" rel="external">http://domain.tld</a>. The rel attribute is already available for the tag.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#2 2016-06-19 15:30:12

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,578
Website

Re: add link id to link

Looks like you’re in luck with v4.6: See txp:link help.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2016-06-19 16:29:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,362
Website

Re: add link id to link

This is actually much better than I thought as it also parses the link title!


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

Board footer

Powered by FluxBB