I created filter isotope for my custom taxonomy it's almost perfect just few problem I can't limit items per page or create pagination for my filter
here my code for views :
<!-- wpv-loop-start -->
<div id="myposts" >
<wpv-loop>
<div class="col-xs-6 col-sm-4 col-md-3 item [wpv-post-taxonomy type="productcategories" format="slug" separator=" "]" style="padding-left:0px;">
[types field='products-gallery' alt='%%ALT%%' title='%%TITLE%%' size='full' align='none' separator=', ' index="0"][/types]
</div>
</wpv-loop> </div>
<!-- wpv-loop-end -->
and here my js :
//this is isotop section
var $container = jQuery('#myposts'); // Container for the all post items
// init
$container.isotope({
// options
itemSelector: '.item', // Individual post item selector
layoutMode: 'fitRows'
});
// Enable filter buttons to behave as expected
jQuery('.filters a').on( 'click', function() {
var filterValue = jQuery(this).attr('data-filter');
$container.isotope({ filter: filterValue });
});
There's someone can help me to limit items to display per page or create pagination?
Dear sarun,
The isotope JS effect does not support pagination, if you need to setup pagination within Views plugin, please check our document:
Views Pagination – Split Content into Pages
https://toolset.com/documentation/user-guides/views-pagination/