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!

1
  • 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
    Commented Jan 30, 2014 at 18:49

1 Answer 1

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.

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.