Support

Account

Home Forums ACF PRO Get the post id from user selection using relationship? Reply To: Get the post id from user selection using relationship?

  • $theids will be returned as an array and it’s being converted to a string.

    Change the shortcode call to

    do_shortcode( '[display-posts include_excerpt="true" id="'.implode(', ', $theids).'"]' )