Ivory Search › Forums › Support › Show posttype in search result and make result clickable
- This topic has 3 replies, 2 voices, and was last updated 1 year, 8 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- February 19, 2023 at 4:35 PM #14995
Hi there, first of all, thanks for this amazing plugin
second I have 2 problems now:
1- How can I show post-type name next to the titles in search result?
2- For opening results, we have to click on title, for some users its a bit hard to understand where exactly they need to click. can we make the hole container clickable?Best regards,
MO - February 20, 2023 at 9:11 AM #15001
I hope you are well today and thank you for your question.
Are you using AJAX search?
Could you please tell me whether you want to make changes to the AJAX search results or search results page?
Best regards,
Ivory Search Support - February 20, 2023 at 1:59 PM #15006
Thanks for your response.
Yes, I’m using AJAX Search.I attached an image to explain it better to you.
First of all, because of having multiple post-types, I would like to show post-type name next to the title of each result.
and then also I need to make the whole result container clickable. ( currently, just the title is clickable )I can change the files on my own and it’s not a problem at all, but after the update, it will be restored to the default version.
is there any hook, or can I use template for that changes?thanks for your help
Attachments:
You must be logged in to view attached files. - February 21, 2023 at 12:48 PM #15021
You can overwrite the plugin template file to make changes to it.
The below plugin template file displays AJAX search results and you can overwrite it in your child theme.
/add-search-to-menu/public/partials/is-ajax-results.php
Just copy the file and paste it into the root directory of your child theme.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login