WordPress: Include post date in Instantsearch.js dropdown menu and search results page

instantsearch
wordpress
autocomplete

#1

Hello, I have the Algolia WordPress plugin running on our website. Our index includes post_date and post_date_formatted and I would like to include the formatted date (e.g. May 8, 2019) in the search results in the dropdown search and also the results page, possibly right above or below the post title.

Would I simply insert <span class="custom-class">{{{ data.post_date_formatted.value }}}</span> right above the title? :thinking:

This is what the top of the autocomplete.php file looks like:

Thank you for your help. I really appreciate it.