Docs    Facebook    Customizations

Reversing the order of items in a photo, video, or album feed

Use this snippet to reverse the order of visible items in a photos, videos, or albums feed.

Add the following JavaScript to your site. This can be done manually using a custom JavaScript plugin. For further information see our documentation here.

var postsWrap = $('.cff-posts-wrap');
var items = postsWrap.children('.cff-album-item');
postsWrap.append(items.get().reverse());

It’s important to note that this will not work with the “Load More” button. You’d need to disable that button.

Technical Support

Still have questions? We are here to help you succeed.

Open a support ticket