Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[request] Return parent category name\title
For example we have such tree of categories:
Cat1
-subcat11
-subcat12
Cat2
-subcat21
-subcat22
I assigned subcat11 to article and want to check if it belongs to Cat1:
<txp:future_plugin parent_name="Cat1">
Yes! It's Cat1
<txp:else />
No! It's not Cat2
<txp:future_plugin />
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline