Taxonomy image and description

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Taxonomy image and description

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20749

    Participant

    Hi,

    I don’t find where the settings are to have the search preview show images and and exceprt to a taxonomy term (as opposed to a Custom Post Type).

    Si if you type “Tondeuse” (a taxonomy term) for instance on my site:
    https://www.maisonae.fr/

    The taxonomy appear just as text links, and not like other Custom Post Type results (links + image + excerpt). Am I missing something obvious?

    Thanks a lot!
    Emmanuel

    #20752

    Hi Emmanuel,

    It happens, because Taxonomy Terms does not have images in WordPress by default, only descriptions: https://i.imgur.com/Avf2mTb.png
    Because of that, there is no unified API to request the image. The description should show up when defined though.

    Some of the taxonomy image solutions are integrated to the plugin, such as the WooCommerce product category images or the Categories Images plugin, those should work.

    Let me know if you use a different plugin, or any different method to attach images to the taxonomy terms, and I will try to construct a custom hook/function to somehow parse those images.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.