Inlcude taxonomy name in results too?

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

This topic contains 8 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 months, 2 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37735
    cmactv
    cmactv
    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 Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37752
    cmactv
    cmactv
    Participant

    Thank you, that worked perfectly.

    #37761
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37769
    cmactv
    cmactv
    Participant
    You cannot access this content.
    #37771
    Ernest Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37774
    cmactv
    cmactv
    Participant

    Thanks!

    #37786
    cmactv
    cmactv
    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 Marcinko
    Ernest 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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.