Forums › Forums › Search & Filter Pro › Display post on initial page and results page in grid
- This topic has 20 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Anonymous(Private) March 6, 2020 at 12:35 pm #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/activiteitenSo 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
Trevor(Private) March 6, 2020 at 2:57 pm #235779The 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(Private) March 6, 2020 at 3:42 pm #235797Hi 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
Anonymous(Private) March 6, 2020 at 4:05 pm #235807The 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
Anonymous(Private) March 9, 2020 at 9:03 am #235864Hi 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
-
AuthorPosts