Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #983894

    After recent update – the category filter using the Avia builder/ “blog post” block is not displaying a category filter to sort blogs. When trying to change to any other layout i.e masonry the blog posts don’t display properly. link to the blog page referenced is below. Any assistance is greatly appreciated.

    #983935

    Hey rkumar12,

    Thank you for using Enfold.

    The blog posts element doesn’t have a sorting function by default. You’re probably looking for the Portfolio Grid or the Masonry element. You have to set the Blog Layout > Blog Layout settings to “Use the advance layout builder…” option first.

    Best regards,
    Ismael

    #984349

    I have set the blog layout to advanced layout builder in the theme settings area. I used to use masonry grid but then something happened where all the pictures would be squished together when displaying blog posts and it did not look right. Then switched to blog posts and now there’s no function to sort. With the masonry element, what can I do to make the blog posts display properly on the first load?

    #984441

    Hi,

    Thank you for using Enfold.

    Set the masonry element again and then add this script in the functions.php file.

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    	}, 2000);
    	
    	$(window).load(function () {
    		setTimeout(function() {
    			clearInterval(int);
    		}, 5000);
    	});
    })(jQuery);
    </script>
    <?php
    }

    The Blog Posts element doesn’t have a category sorting function by default.

    Best regards,
    Ismael

    #985197

    It seems to work with the script. Thanks!

    #985427

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.