Support » Plugin: Advanced Custom Fields » Re-ordering related post objects

  • I am trying to re-order the layout of related posts.

    I have a list of food products which have related recipes and want to change the order in which the recipes are displayed.

    I am currently getting all related recipes with $recipes = get_field('related_recipes', $prod->ID);

    I really need to do a wp_query of some sort.

    Any suggestions?

    Thanks

    https://wordpress.org/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
  • Found the answer.

    I should have set the field type to ‘relationship’ as apposed to post ‘object’

Viewing 1 replies (of 1 total)
  • The topic ‘Re-ordering related post objects’ is closed to new replies.