Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-08-30 16:28:36

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

add rel=.... to a permlink

How can I add rel=… (e.g. section) to a permalink.

I already use <txp:linkdesctitle /> in a form added to a linklinst, but I would also add the rel attribute to the link I genereated by using <txp:permlink /> inside <txp:article:custom />.

Is there any way?

Offline

#2 2015-08-30 16:35:26

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: add rel=.... to a permlink

<a href="<txp:permlink />" rel="...">link text</a>

Offline

#3 2015-08-31 16:43:28

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: add rel=.... to a permlink

ruud wrote #294438:

<a href="<txp:permlink />" rel="...">link text</a>...

thanks

Offline

Board footer

Powered by FluxBB