Creating a widget to add Post Type to ais-hits--content


I was wondering if someone would be able to help me in creating a widget to display the post type of the returned search result within the ais-hits–content div. I have poked at it for but can’t seem to get anyplace.


Hi @rameden,

You can have a look to our dedicated guide on customising the search results pages here: Customize your search page

If you have issues with the guide, please open an issue on the repository: GitHub - algolia/algoliasearch-wordpress: ❌🗑🙅‍♂️ Algolia Search plugin for WordPress is no longer supported. Please use our API client guide instead