Shuffle Filter – hide all posts at beginning

By default, posts will be visible under filters list of Shuffle Filter.
To hide these posts at page load, Please add this code to Custom JS field in Content Views >> Settings page:

/* Hide items at the beginning */
var cvp_hidden = 0;
$('.pt-cv-page').on('layout.shuffle', function() {
    if (!cvp_hidden) {
        $(this).css('height', 0);
    }
    cvp_hidden++;
})

Best regards,

Scroll to Top