Is there a way to sort featured endorsements?

When endorsements are added manually to the system, the ones added first are pushed to the bottom where the new ones are listed at the top. I cannot seem to find a way to fix this. Is there a way to manually rearrange endorsement orders?

Official response from

Hi Sean,

Indeed, the featured endorsements array is sorted automatically so that more recent endorsements are displayed at the top. Using the "reversed" attribute, however, you can flip that order so that older endorsements remain featured at the top and newer endorsements are added at the bottom. 

Ex. {% for endorsement in page.endorsement.featured_endorsements_without_images reversed %}

If you're unsure how to implement on your site, feel free to email help@nationbuilder.com with the endorsement page in question -- and we'd be happy to provide further guidance.

Complete and current information on how to use NationBuilder is available in the documentation section.

Share this post

Showing 1 reaction

Please check your e-mail for a link to activate your account.