This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

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

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • #14331
    golaszegolasze
    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 8 years, 9 months ago by golaszegolasze.
    #14333
    golaszegolasze
    Participant

    You cannot access this content.

    #14336
    Ernest MarcinkoErnest 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.

    #14338
    golaszegolasze
    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 MarcinkoErnest 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

    #14340
    Ernest MarcinkoErnest 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:

    #14341
    golaszegolasze
    Participant

    You cannot access this content.

    #14346
    Ernest MarcinkoErnest Marcinko
    Keymaster

    It’s probably caclulated based on the user login position and the form left position (?):

    #14348
    golaszegolasze
    Participant

    Perfect, thank you for quick respond and a solution 🙂

    #14349
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #14352
    golaszegolasze
    Participant

    Sure

    #14355
    golaszegolasze
    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
    golaszegolasze
    Participant

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

    #14357
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I have made a tiny change on the back-end, for faster CSS loading, and better cache prevention: http://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

    #14366
    golaszegolasze
    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.