Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Retrieve url_title
Without the use of Txp native tags
Assuming:
‘title’ => title(array()),
Throws the article title… How do I get the URL-only title ? Tried with url_title…
title(array(‘url_title’ => ‘1’))
… but this fires errors
Any ideas ?
Cheers.
Last edited by hablablow (2010-05-21 12:24:07)
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Re: Retrieve url_title
Assuming you know you’re in an article context:
$title = $thisarticle['url_title'];
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Retrieve url_title
Hi Stef, thanks for your reply. This is actually directly related to a discussion we had here… So it’s probably better to switch this discussion to over there
_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__
Offline
Pages: 1