Search Results for 'Masonry'

Forums › Forums › Search › Search Results for 'Masonry'

Viewing 10 results – 251 through 260 (of 354 total)
  • Author
    Search Results
  • #90208

    Anonymous
    Inactive

    Yes, Jupiter comes with a special version of the Visual Composer.
    It’s called: „WPBakery Visual Composer (Modified Version)“.

    It has both the „Post Grid“ and also the „Post Masonry Grid“ elements.
    I would need a mail address from you, because we use 2-step-verification by mail to login.
    Then I can send you an admin account.

    We upgraded the following:
    Wordpress from 4.6.2 to 4.7.1
    Jupiter from 5.2 to 5.5
    Visual Composer from 4.12.1 to 5.0.2
    Search & Filter Pro from 2.1.2 to 2.3.2

    Thank you!
    Markus

    #88860

    In reply to: Custom results


    Trevor
    Participant

    OK, the link you sent appears to use Masonry or similar to arrange the grid. This is not so easy to do. However ….

    The7 comes with Visual Composer, I believe, and that has Post Grid and Post Masonry Grid elements.

    It might be much easier for you to utilize the S&F Pro support for these VC grid elements.

    If you read this post:

    https://support.searchandfilter.com/forums/topic/visual-composer/#post-88745

    and a little further down that same thread is a screenshot of the VC elements modal window showing these grid elements.

    #88823

    In reply to: Visual Composer


    Trevor
    Participant

    Hi John

    The element that you have used is from Massive addons, and not from Visual Composer. The copy of VC that you have is from Qode, yes? It seems that many elements, such as the two highlighted in the screenshot, have been disabled. So, I went to the role manager and change the elements setting from ALL to Custom, and then enabled them all (you can see the correct grid elements in the list)! Which should have no effect, right? NO. All the Qode ones disappear, but still no standard grid elements.

    So, in WP admin, I went to Qode Options -> Visual Composer, and enabled grid elements. Note that Ajax Page transitions will now be auto-disabled.

    I have added the grid element to the page now. As to which one you want to use, that is up to you. Most people use the Masonry one, so I added that. Along with the form element. I left the elements you had in also.

    #85749

    Trevor
    Participant

    Hi Mark

    The first thing then is to ask if you followed the basic customizing starter guide:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    Then you have to edit this to add/edit HTML elements and use CSS classes and ID’s to match your theme. I can sort of help (within limits), but I can’t do grids that use Masonry, as they are often very particular to the theme.

    #85241

    Trevor
    Participant

    The masonry script is not applying itself to the posts. And thus each post has a left position of 0. I do not know how your theme applies the script, and look as I try, I cannot see it.

    We may have to go about this an entirely different way. Are you able to make an equivalent of the blog page using visual composer and the Post Masonry Grid element (you may have to design a custom layout for it)?

    #85014

    Trevor
    Participant

    I have a good long look. I edited the form a bit, enabling the counts and disabling the Relevanssi settings (you can only use these if you have Relevanssi plugin installed).

    As you have the form open right now, I cannot reset these to how you had them.

    Does this issue show for any sort order (I see you had it set to menu order)?

    Does it happen without the search&filter form on the page and with S&F deactivated?

    Are you able to make a similar page using VC Masonry Post grid element, as we do have a (free) filter addon for VC.

    #83677

    Trevor
    Participant

    I have written a new results.php for you:

    <?php
    /**
     * Search & Filter Pro 
     *
     * Sample Results Template
     * 
     * @package   Search_Filter
     * @author    Ross Morsali
     * @link      http://www.designsandcode.com/
     * @copyright 2015 Designs & Code
     * 
     * Note: these templates are not full page templates, rather 
     * just an encaspulation of the your results loop which should
     * be inserted in to other pages by using a shortcode - think 
     * of it as a template part
     * 
     * This template is an absolute base example showing you what
     * you can do, for more customisation see the WordPress docs 
     * and using template tags - 
     * 
     * http://codex.wordpress.org/Template_Tags
     *
     */
    
    if ( $query->have_posts() )
    {
    	?>
    	
    	Found <?php echo $query->found_posts; ?> Results<br />
    	Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    	
    	<div class="pagination">
    		
    		<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
    		<?php
    			/* example code for using the wp_pagenavi plugin */
    			if (function_exists('wp_pagenavi'))
    			{
    				echo "<br />";
    				wp_pagenavi( array( 'query' => $query ) );
    			}
    		?>
    	</div>
    	<div class="col-9 hb-equal-col-height hb-main-content">
    		<div id="hb-blog-posts" class="hb-blog-grid masonry-holder clearfix" data-layout-mode="fitRows" data-categories="" data-column-size="col-4">
    	
    	<?php
    	while ($query->have_posts())
    	{
    		$query->the_post();
    		
    		?>
       <article id="post-<?php echo get_the_ID();?>" class="col-4 post-<?php echo get_the_ID();?> post type-post status-publish format-standard has-post-thumbnail hentry" itemscope="" itemtype="http://schema.org/BlogPosting">
    				<div class="featured-image">
    					<a href="<?php the_permalink(); ?>">
    			<?php 
    				if ( has_post_thumbnail() ) {
    					the_post_thumbnail("small");
    					?>
            <div class="featured-overlay"></div>
            <div class="item-overlay-text" style="opacity: 0;">
              <div class="item-overlay-text-wrap" style="padding-top: 0px;"> <span class="plus-sign"></span> </div>
            </div>
       <?php
    				}
    			?>
    					</a>
    				</div>
    				<div class="post-content">
    					<div class="post-header">
       			<h2 class="title" itemprop="headline"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    					</div>
     			 <p><?php echo get_the_excerpt(); ?>
    	 			<br /><a href="<?php the_permalink(); ?>" class="read-more">Read More</a>
    		 		</p>
    				</div>
      	</article>
    		
    		<?php
    	}
    	?>
    		</div>
     </div>
     Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    	
    	<div class="pagination">
    		
    		<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
    		<?php
    			/* example code for using the wp_pagenavi plugin */
    			if (function_exists('wp_pagenavi'))
    			{
    				echo "<br />";
    				wp_pagenavi( array( 'query' => $query ) );
    			}
    		?>
    	</div>
    	<?php
    }
    else
    {
    	echo "No Results Found";
    }
    ?>
    #80491

    In reply to: Old Category Reappears


    Trevor
    Participant

    What would be the best way to achieve Masonry using the Shortcode method?

    That I do not know 🙁

    I know Avada has its own builder, Visual Composer is a third party plugin that many themes include. It has a masonry grid build and we CAN get that working with S&F.

    #80489

    In reply to: Old Category Reappears


    Anonymous
    Inactive

    Only because there’s enough resources on this support forum! 😀

    What do you mean by “Visual Composer grid”? Do you mean within the Fusion Builder?

    I did try it with the Archive or Search.php, as far as I remember, it did show the initial results when the page loaded, then it also showed results when I filter the search for the first time. But after redirecting to the results page, Ajax/Masonry stopped working, as I believe that is the main issue others are having.

    But if I have choice, I’d rather get it working using Shortcode, only because I feel like I have much better control of everything else around the results.

    What would be the best way to achieve Masonry using the Shortcode method?

    Thanks!

    #80481

    In reply to: Old Category Reappears


    Trevor
    Participant

    Gosh, you leaped through those hoops rather fast 🙂

    Generally, with Avada, it is best to use either a Visual Composer grid or our shortcode method.

    However, I am getting ahead of myself. Did you try the As an Archive method and did it work?

    Getting masonry to work after using our Ajax refresh is always the hard part, and not something I have personally managed with Avada (but others may well have).

Viewing 10 results – 251 through 260 (of 354 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.