Forums Forums Search & Filter Pro Display search results using VC Post Masonry Grid

  • This topic has 6 replies, 2 voices, and was last updated 8 years ago by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #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!

    Trevor
    #67015

    Are you using the VC Grid Builder? S&F Pro does not support that at this time, AFAIK.

    Anonymous
    #67124

    Thanks 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
    #67138

    Hey 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
    #68536

    Thanks 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

    Trevor
    #68560

    You might have to echo that get_post_meta, if nothing is appearing.

    Anonymous
    #68932

    Thanks Trevor

Viewing 7 posts - 1 through 7 (of 7 total)