Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
Offline