The the EE docs here: http://ellislab.com/expressionengine/user-guide/modules/channel/channel_form/index.html#categories

It says the {category_parent} tag should show: "The name of the category parent if it exists, indented according to the category depth."

In fact, it outputs the parent's ID, not the name.

Is this an error in the docs, or a bug in EE?

2 Answers 2


I'd say it's a bug, otherwise the variable would more logically be category_parent_id.


To fix this problem I'm using the Cat2 addon to convert category id into something else (in my case url_title):

     {if "{category_group_id}" == "12" && "{category_depth}" > 1}
          {exp:cat2:url_title category_id="{category_parent}"}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.