rah_if_title
Published under current TXP projects
Outputs wrapped markup if article has a title, if not, nothing will shown.
Image: rah_if_title
Requirements
- Textpattern 4.x.x
Installation and usage
The general behavior stands: paste plugin code to the plugin installer textarea and run the automatic setup. Then just activate the plugin and you are ready to use new tags that plugin includes like others.
For usage, just simply use txp:rah_if_title conditional in an individual article context.
Example
<txp:rah_if_title>
Hey we got a title: <txp:title />
<txp:else />
We don't have a title.
</txp:rah_if_title>
Changelog
Version 0.2
- Improved documention.
- Supports
<txp:else />
Version 0.1
- First release.