Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Categories, custom categories (Series, channel, playlist) show image in search
This topic contains 35 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 7 months ago.
- AuthorPosts
- August 17, 2017 at 2:10 pm #14331
Categories, custom categories
In search results, the categories not showing any image in results only the name and link. I have tried plugins such as: Categories Images, Category Featured Images – Extended. How to get image show for category?
“It very much depends on how the images are stored. WooCommerce category images are supported, but for others specific custom code has to be constructed, depending on how the images are stored – sice there is no built in solution in WordPress that I could implement to the plugin.
I suggest opening a support ticket, and I will take a look directly. Thanks!”
- This topic was modified 6 years, 8 months ago by golasze.
August 17, 2017 at 2:38 pm #14333You cannot access this content.August 17, 2017 at 2:49 pm #14336Hi,
I see you use the Categories Images plugin. For that to work, a small custom snippet is needed to be placed into the functions.php file in your active theme directory:
1. Make sure you have a back-up of everything
2. Place the following code to the functions.php file in your acrive theme directory (copy from line 3 only!):
3. Save the file, and you are done.After this, category images should start showing up. If you need help with the implementation, feel free to leave FTP details and I will do it for you.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 17, 2017 at 2:58 pm #14338Image shows working now, thanks.
What about make search bar expandable when click on it.
Ex. default is 300px, but when I click on it is expand for 80% or 100% of page width?August 17, 2017 at 3:00 pm #14339Hi,
Try out the compact search box options, it may help achieving something similar: https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/layout_settings/compat_search_box_layout.html
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 17, 2017 at 3:24 pm #14340I just remembered, someone already had a similar request, that may interest you.
This is a solution, where the search width changes when the input is focused to 800px (or max screen width), and changes back when the focus is lost:
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 17, 2017 at 3:40 pm #14341You cannot access this content.August 17, 2017 at 3:53 pm #14346It’s probably caclulated based on the user login position and the form left position (?):
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 17, 2017 at 4:04 pm #14348Perfect, thank you for quick respond and a solution 🙂
August 17, 2017 at 4:04 pm #14349You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 17, 2017 at 4:14 pm #14352Sure
August 17, 2017 at 4:39 pm #14355One more think, If i change or modify Theme
– overall box layout
– input field layoutThe preview works well but the default theme is showing on the front-end of the page (modification are not showing). Clean cache doesn’t help, change browser as well
I tried setup new theme and paste but the expandable option not working and I cant even write down and textAugust 17, 2017 at 4:46 pm #14356Works now I had to change in widget
Badge Background Color: #FFFFFF
choose background color for the Badge: #000000August 17, 2017 at 4:47 pm #14357I have made a tiny change on the back-end, for faster CSS loading, and better cache prevention: https://i.imgur.com/gnXVgVy.png
Best,
This should make sure that the changes are visible, if you clear the cache and reload the page with CTRL + SHIFT + R
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 18, 2017 at 12:11 am #14366You cannot access this content. - AuthorPosts
The topic ‘Categories, custom categories (Series, channel, playlist) show image in search’ is closed to new replies.