Would it be possible customise the search results to add the category after each search result? Something like:

Search result 1
Category A

Search result 2
Category B

Search result 3
Category A

Search result 4
Category A

Search result 5
Category B

Therefore, the category, whatever it is, appears after the search results.

  • 1
    You can customize the loop in the search results template and use functions like the_category() to display the post category. – Sally CJ Jun 16 at 0:56

Your Answer

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

Browse other questions tagged or ask your own question.