Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-04 03:29:28

jeeves
Member
Registered: 2004-06-14
Posts: 31

Automatically add the [rel="external"] attribute to Texpattern links?

I have added a javascript to a blog that makes links with the <b><code>rel=“external”</code> </b> attribute open in a new window? Is it possible to automatically add this attribute to Texpattern links without resorting to hacking the code?

Offline

#2 2006-01-04 04:03:34

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Automatically add the [rel="external"] attribute to Texpattern links?

You can use the PR block plugin to do this.

More in the FAQ.

Last edited by zem (2006-01-04 04:14:49)


Alex

Offline

#3 2006-01-20 14:46:25

carla
Member
Registered: 2005-09-20
Posts: 17
Website

Re: Automatically add the [rel="external"] attribute to Texpattern links?

Just as a note for future searchers who desire to use another code besides Javascript:

There is a WP plugin to do just that—might serve someone as reference, etc.


Offline

Board footer

Powered by FluxBB