Categories, custom categories (Series, channel, playlist) show image in search

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 Ernest Marcinko 5 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • #14331
    golasze
    golasze
    Participant

    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 golasze.
    #14333
    golasze
    golasze
    Participant
    You cannot access this content.
    #14336
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #14338
    golasze
    golasze
    Participant

    Image 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?

    #14339
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #14340
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I 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 :)


    #14341
    golasze
    golasze
    Participant
    You cannot access this content.
    #14346
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It’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 :)


    #14348
    golasze
    golasze
    Participant

    Perfect, thank you for quick respond and a solution 🙂

    #14349
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14352
    golasze
    golasze
    Participant

    Sure

    #14355
    golasze
    golasze
    Participant

    One more think, If i change or modify Theme
    – overall box layout
    – input field layout

    The 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 text

    #14356
    golasze
    golasze
    Participant

    Works now I had to change in widget
    Badge Background Color: #FFFFFF
    choose background color for the Badge: #000000

    #14357
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I have made a tiny change on the back-end, for faster CSS loading, and better cache prevention: https://i.imgur.com/gnXVgVy.png
    This should make sure that the changes are visible, if you clear the cache and reload the page with CTRL + SHIFT + R

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14366
    golasze
    golasze
    Participant
    You cannot access this content.
Viewing 15 posts - 1 through 15 (of 36 total)

The topic ‘Categories, custom categories (Series, channel, playlist) show image in search’ is closed to new replies.