Forums Forums Search & Filter Pro Display post on initial page and results page in grid

Tagged: ,

Viewing 10 posts - 1 through 10 (of 21 total)
  • Anonymous
    #235733

    Hi,

    The other day I purchased your plug-in and indeed it works like a charm. Now I’m in the process of styling and the CSS stuff I get. However I’m not quite shure how to have the posts displayed as I would like.
    What I like to achieve is similar to this:https://www.vitiswelzijn.nl/activiteiten

    So initially all posts in grid with title and some info with the S&F on top. Since I also use Enfold and Content Views Pro, there must be a way to make that work right? I’ve seen this post: https://support.searchandfilter.com/forums/topic/not-getting-acf-post-meta-working/#post-145421, but I’m kinda lost.

    Could you point me in the right direction?

    Thanks in advance!

    Best regards,

    Steven

    Anonymous
    #235734
    This reply has been marked as private.
    Anonymous
    #235770
    This reply has been marked as private.
    Trevor
    #235779

    The Enfold Framework does its own thing with the query making it difficult for us to integrate with in all cases, because and we do not appear to be able to hook to it.

    You are using the Shortcode display results method, but the final dispaly requires custom coding on your part for layout and styling, and this is not always so easy, we understand. The only alternative that I can think of is to make a search/results page specifically for this purpose, using a blank page template (so, no content from Enfold), using this method:

    https://searchandfilter.com/documentation/3rd-party/post-grid/

    Anonymous
    #235797

    Hi Trevor,

    Thanks for your (very) quick reply. I get your point, was to good to be true that it would be that easy after all 😉
    Having said that: I reverted back to your original file. So the filter is working again.
    In the sesults.php I see code like:

    <p><br /><?php the_excerpt(); ?></p>
    <?php
    if ( has_post_thumbnail() ) {
    echo ‘<p>’;
    the_post_thumbnail(“small”);
    echo ‘</p>’;

    That implies that, with the right output string from S&F I can achieve almost the same right. At least more that just the title I assume.

    Again, have a great weekend!

    Cheers,

    Steven

    Trevor
    #235801

    Indeed, you can.

    You can often copy and paste PHP code snippets found in your own theme’s template, but do it carefully and slowly.

    Is it OK to close this thread for now?

    Anonymous
    #235807

    The thing is that we really need the (3 column) grid lay-out.
    Could you enlighten me on what string I should use in order to get a grid lay-out using only S&F?

    You mentioned Post Grid but I already tried Content Views Pro ( is similar plug-in right?) in grid mode but clearly that didn’t work.

    When I look at: https://searchandfilter.com/documentation/3rd-party/post-grid/ on the other hand, it looks promissing. Will this to the trick instead of Content Views?

    Best regards,

    Steven

    Trevor
    #235809

    It should, yes. It is a very popular plugin. Rather than ask how many columns you want, it has a grid post width setting. If there are only two columns, decrease the width, if there are four, increase the width.

    Anonymous
    #235864

    Hi Trevor,

    I just followed your instructions in regard to the Post Grid plugin.
    I made a new page and placed:

    [searchandfilter id=”148″ action=”filter_next_query”] ID of the searchform

    AND

    [post_grid id=”175″] ID of the Post Grid.

    The only thing I see now is the grid and not the S&F bar.

    Cold you please help me out so that it will work?
    Do you need Admin access for this?

    Best regards,

    Steven

    Anonymous
    #235866
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 21 total)