I'm having issues trying to display a category name when using the related categories option. Two snippets below:

{exp:channel:entries channel="blog" limit="4" related_categories_mode="yes" custom_fields="yes"}

And inside of the above:

{categories limit="1" show="not 1"}{category_name}{/categories}

When I remove related_categories_mode the categories will display fine, but it's unfortunately necessary for this situation.

1 Answer 1


yes {categories} loop not working with related_categories_mode.

you can work around this problem using {embed} template and pass the entry_id to it then call {categories} loop.

or you can use addons Like gwcode_categories http://gwcode.com/add-ons/gwcode-categories/examples/example1

and get the categories info for the current entry.


  • Took me a bit to configure, but it worked! I used GWCode plugin. Thank you.
    – 88mpg
    Mar 13, 2014 at 21:18

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.