Support

Account

Home Forums ACF PRO Get siblings via parent relationship. Reply To: Get siblings via parent relationship.

  • Mate! I’ve just realised you’ve missed something after your foreach begins you have to set up the post data. Surely that will fix the weird activity?

    <?php foreach( $posts as $post ): ?>
    <?php setup_postdata($post); ?>