Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-05-16 08:42:21
- gfxx
- Member
- Registered: 2008-09-04
- Posts: 12
Access "title" data directly to skip the nbsp of widows-prevention
Hello,
I enjoy the option “prevent widows in article titles” in general, but for a certain thing on my website, it doesn’t make sense. Either I disable the option in general (which would be a pitty) or I find a way to get the title without textpattern replacing spaces with
. Any suggestion?
Something like <txt:title widowprevent="no" />
Thanks!
Offline
Re: Access "title" data directly to skip the nbsp of widows-prevention
Hi
I don’t know if that can solve your problem but you can access title tag by using txp:custom_field like this:
<txp:custom_field name="Title" />
Cheers
Offline
Re: Access "title" data directly to skip the nbsp of widows-prevention
<txp:title no_widow="1"/>
Offline
#4 2010-05-16 09:36:49
- gfxx
- Member
- Registered: 2008-09-04
- Posts: 12
Re: Access "title" data directly to skip the nbsp of widows-prevention
uh, as easy as that, thanks :)
Offline
Re: Access "title" data directly to skip the nbsp of widows-prevention
You can see a tag reference on the wiki
Offline