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 to the plugin’s Custom JavaScript section (Facebook Feed > Customize > Misc):

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