Textpattern

Return to main site

Related

Frequently Asked Questions

if_category vs. if_article_category

Q.

What’s the difference between <txp:if_category> and <txp:if_article_category>?
<txp:if_category> doesn’t seem to work!

A.

The txp:if_category tag refers to the URL of the current page – i.e. the ?c=mycategory part, if it’s present.

The txp:if_article_category tag refers to the categories associated with the current article in an article list or on an individual article page.

Posted 25 November 2005, 02:18 by Alex Shiels

---