Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2007-03-20 15:56:38

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: URL-only title

It still works for me in 4.0.4. Make sure you don’t copy the code from my previous post, because the quotes got textiled. Use this:

function url_title($atts)
{
global $thisarticle;
return $thisarticle['url_title'];
}

Offline

#17 2007-03-20 16:09:07

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: URL-only title

indeed it does – should have spotted that this morning!
cheers Els

Offline

#18 2011-01-30 21:24:45

chad
Member
Registered: 2006-08-06
Posts: 12

Re: URL-only title

To all the people like me, finding this thread belatedly, this tag is now official:

<txp:article_url_title />

Offline

#19 2011-01-30 23:03:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: URL-only title

chad wrote:

this tag is now official:

now = since July 2007 ;)

Offline

Board footer

Powered by FluxBB