1

I can find no way of displaying any of the Primary Category tags within the new EE2.6 Relationships field loop.

It works fine with Playa fields.

Does anyone know if there is a way to display Primary Category tags within EE2.6 Relationship Child loops?

2
  • Just to confirm, you're using Solspace Primary Category? Can you update your question with a bit of the template code you've tried that does not work?
    – Alex Kendrick
    Nov 7, 2013 at 2:34
  • Actually, I switched to using the Plugin version instead of the Tag Pair and everything works! Nov 8, 2013 at 1:00

1 Answer 1

1

Instead of using the PriCat Tag Pair inside a EE2.6 Relationships Tag Pair, the following works perfectly:

{exp:primary_category entry_id='{my_related_field:entry_id}'}{primary_category_parent_url_title}{/exp:primary_category}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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