1

Inside {exp:super_search:results} I cannot get a Primary Category to display. Normally I would use {exp:primary_category}{primary_category_name}{/exp:primary_category} inside {exp:channel:entries}. That works fine but the same thing side Super Search results doesn't work.

Is there something special I have to do to display Primary Category? Strange that it wouldn't work in Super Search since they are both Solspace add-ons!

  • 2
    EE, Super Search, and Primary Category versions, as well as full template code, please :) Also, try using entry_id="" with {exp:primary_category}. – Solspace Jan 30 '14 at 18:49
3

Adding entry_id="{entry_id}" to {exp:primary_category} fixed it. This is not required in channel:entries but is required in Super Search results.

| improve this answer | |

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.