Sorting By ACF/Meta Box

Sorting Posts by Advanced Custom Fields or Meta Box Field Values in Breakdance

This guide explains how to sort your list of posts by values from Advanced Custom Fields (ACF) or Meta Box fields in Breakdance.

Ordering Posts by A Custom Field

Order By ACF Field

  1. Ensure you have your Post Loop Builder or Post List element ready, displaying your list of posts.
  2. Select your Post Loop Builder or Post List element.
  3. Go to the properties panel and click “Edit Query” under the Query section.
  4. In the ‘Order’ section, click on the ‘Order by’ dropdown menu and choose ‘ACF.’
  5. Choose an appropriate order from the ‘Order’ dropdown, e.g. ascending or descending.
  6. Apply the query changes.

Order By Meta Box Field

  1. Ensure you have your Post Loop Builder or Post List element ready, displaying your list of posts.
  2. Select your Post Loop Builder or Post List element.
  3. Go to the properties panel and click “Edit Query” under the Query section.
  4. In the ‘Order’ section, click on the ‘Order by’ dropdown menu and choose ‘Meta Box.’
  5. Choose an appropriate order from the ‘Order’ dropdown, e.g. ascending or descending.
  6. Apply the query changes.

Additional Notes

Sorting your posts by Advanced Custom Fields or Meta Box field values is an effective way to organize and display content based on specific criteria, enhancing the user experience on your site. Remember, you can always modify the query settings in Breakdance to suit your specific needs and preferences.