Display Results As Thumbnails

Forums › Forums › Search & Filter Pro › Display Results As Thumbnails

Viewing 10 posts – 1 through 10 (of 38 total)
  • Anonymous
    #33486

    Hi,

    I just bought the plugin 2.0.3 some days ago. Can I display the results as thumbnails with caption? Would be great.

    Just to show what I mean: http://www.couperosecreme.com/couperose-creme-in-sekunden/.

    Thanks for helping.

    Anonymous
    #33588

    I need this too.

    I check out to use Taxonomy images for tags, but i can not find on plugins files, where is label output define. If i know a place, maybe we can hook images for filters.

    Anonymous
    #33595

    Ross should be able to tell us what to do.

    Anonymous
    #33600

    if ( !empty($show_count) )
    {
    $link .= ‘ <span class=”‘.SF_CLASS_PRE.’count”>(‘ . number_format_i18n($term_count) . ‘)</span>’;
    }

    $link .= “</label>”;
    $link .= “Image holder”;

    On this file. class-search-filter-taxonomy-walker Image holder, or it can be up or down, at the moment i look to get any Taxonomy images plugin to work with this to get category image by id: $cat_id = esc_attr( $category->term_id ); that is up on this file.

    Anonymous
    #33601

    This code without explanations or better tutorial is beyond my php-competence.

    Anonymous
    #33602

    This is a improvment finding not tutorial or not to put on mounth and eat. We need to find solution, not waiting for support 🙂 I find a place to make show a extra things for label and count place for filter. At the moment need find taxonomy plugin and hooh it into this plugin and we can get a filter with icons, images.

    Anonymous
    #33603

    But i think you need only a image for results, so sorry, i need a image for filters.

    If you need a image for results, simply open a: templates/results.php and add a <?php the_post_thumbnail(‘full’); ?> for images, you can use thumbnails, medium as you want or a any custom size for your theme.

    Anonymous
    #33604

    Ross recommends this taxonomy plugin: CPT UI.

    Ross Moderator
    #33610

    Hi both!

    Just released an update today.

    There is no way to custom images etc like that via the admin UI, however, with the new S&F 2.1 (released today) there are some options for developers in controlling the html output.

    http://www.designsandcode.com/33533/search-filter-2-1-released/

    Take a look at the last part about the new filter.

    You will find there is an example for a html prefix/postfix where I htink you could insert your custom code there.

    https://gist.github.com/rmorse/7b59b45a14b1ca179868

    Thanks

    Thanks

    Anonymous
    #33613

    Ross: I make this, filter with icons, for example, each tag has a image or icon.

    On file: class-search-filter-taxonomy-walker.php find this, around 240 line. And then it can be done with custom taxonomy meta keys to get images done.

    $link = “”;

    $input_id = SF_INPUT_ID_PRE.sanitize_html_class($sf_name.”_”.$cat_slug);
    $metaValue = get_terms_meta($cat_id, ‘cat_image’, true);

    //intval($hide_empty)

    $link .= “<input type=’”.$this->type.”‘ name=’”.$sf_name.”[]’ value=’”.$cat_slug.”‘ class=’”.$input_class.”‘”.$checked.$disabled.” id=’”.$input_id.”‘ /><label for=’”.$input_id.”‘>image<span>”.$cat_name.”</span>” ;

    So, i use this plugin, made a cat_image custom field with image and make a output.

    http://postimg.org/image/sdwljdyd3/ here is a result.

Viewing 10 posts – 1 through 10 (of 38 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.