Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › image search results help
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 1 month ago.
- AuthorPosts
- July 24, 2023 at 8:38 pm #44795
How can I get images on the search results screen please? (see URL)
Also, how can I get rid of the text in the ajax live search (see attachment)
July 25, 2023 at 12:31 pm #44806Hi,
The results page layout is a theme related feature, most themes may not be coded to display featured images for media files. It is however possible to request the image URL via a theme function:
get_asp_result_field('image');
If you are using a child theme, then this function can be used to request the result image URLs.To remove the title text from the results, it’s probably the best to use custom CSS for the styling to fit properly:
Best,.asp_content h3 { display: none !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 25, 2023 at 6:23 pm #44810Can you suggest any themes that will properly display images for me?
July 26, 2023 at 1:22 pm #44813Unfortunately I am not very familiar with these theme features. Usually we build our custom themes from the underscores theme – but that does not support it either by default.
Best,
It is probably best to custom code it, it might be much faster.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.