This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Inlcude taxonomy name in results too?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Inlcude taxonomy name in results too?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37735
    cmactvcmactv
    Participant

    I have turned on “Return taxonomy terms as results”. My question: is it possible to display the taxonomy name in the results too?

    #37740
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Sure, you will need a tiny bit of custom code, but this knowledge base will explain everything.

    #37752
    cmactvcmactv
    Participant

    Thank you, that worked perfectly.

    #37761
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #37769
    cmactvcmactv
    Participant

    You cannot access this content.

    #37771
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I’m sorry, can you please update the code, there was an extra line it it, which we accidentally left there when debugging.

    #37774
    cmactvcmactv
    Participant

    Thanks!

    #37786
    cmactvcmactv
    Participant

    Somewhat related, is there anyway to assign a thumbnail image that would be used when taxonomies are shown in the search results? This would help them stand out compared to posts.

    #37789
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Well, it is possible to define a “default” image to them, if that is what you are looking for: https://i.imgur.com/qpm82LQ.png

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.