# שדה ACF Relationship ב-discourse\_publish\_format\_html

**URL:** <https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961>\
**Category:** WordPress\
**Created:** [15 באפריל,‏ 2021,‏ 1:42pm UTC](https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961 "2021-04-15T13:42:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [15 באפריל,‏ 2021,‏ 10:36pm UTC](https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961/2 "2021-04-15T22:36:22Z")

</div>

Hey Richard,

> [@RichardC](#):
>
> Is iFrame my best bet?

Almost never 😉 And not in this case.

> [@RichardC](#):
>
> Any ideas on how to publish a WP post that includes ACF relationship fields?

Could you elaborate on the need here a bit more, and also what you’ve tried so far?

As the title of your topic notes, you can use the `discourse_publish_format_html` filter to change the html of a post before it is sent to discourse. There’s also some good examples on how to use ACF relationship fields in the ACF documentation. These could be appled along with the `discourse_publish_format_html` filter.

> **[ACF | Relationship](https://www.advancedcustomfields.com/resources/relationship/)**
>
> Description The Relationship field provides a dual-column component to select one or more posts, pages or custom post type items, providing search, post

---

_[View the full topic](https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961)._
