Forums › Forums › Search & Filter Pro › Display search results using VC Post Masonry Grid
Tagged: Visual Composer
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by Anonymous.
-
Anonymous(Private) October 28, 2016 at 4:41 am #66959
Absolutely loving the work that Search and Filter does.
I’ve managed to implement S&F using my custom post type and display the fields and results on a basic page however, the theme I’m using relies heavily on Visual Composer – sorry 🙂
I’d like to be able to use VCs Post Masonry Grid to display the results if possible. As a Data Source is accepts post, page, attachment, custom query, IDs and custom post types.
Is there a way to link that data source to the results of Search and Filter?
Thanks!
Anonymous(Private) October 28, 2016 at 10:53 pm #67124Thanks Trevor, yes I’m using the grid builder and I thought that would be the case.
Can I ask how you’d begin implementing Masonry with Search&Filter results? As I was using the shortcode I’m not sure how to begin targeting each post result with CSS.
Many thanks
Trevor(Private) October 29, 2016 at 8:40 am #67138Hey David
We are taking a look to see how easy it would be to implement a solution for Visual Composer.
On the source for the builder, you would select Custom Query and then we need to work out if we can then enter something in the query box to get it to work.
I personally have never managed to get masonry or isotope working. However, I have helped others do that. Some posts that might hint at it:
https://support.searchandfilter.com/forums/topic/trying-to-implement-with-animations-and-masonry/
https://support.searchandfilter.com/forums/topic/trying-to-edit-results-php-to-show-results-in-grid/Anonymous(Private) November 4, 2016 at 2:57 am #68536Thanks for the reply Trevor.
I’m scaling back a bit and just trying to work with customising results.php to display the results in a grid without masonry/isotope animation. The post from MindChip seems similar to what I’d like to achieve.
If I wanted to display custom meta data along with the featured image can I use ‘get_post_meta’?
I tried something like this in place of the_category(); but can’t seem to get it working
<p><?php get_post_meta( get_the_ID(), ‘ecpt_7’, true ); ?><p>Thanks again
-
AuthorPosts