# discourse\_publish\_format\_html의 ACF Relationship 필드

**URL:** https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961
**Category:** WordPress
**Created:** [4월 15, 2021, 1:42오후 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:** 4

<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: [4월 16, 2021, 5:03오전 UTC](https://meta.discourse.org/t/acf-relationship-field-in-discourse-publish-format-html/186961/4 "2021-04-16T05:03:47Z")

</div>

> [@RichardC](#):
>
> 이 형식이 맞나요?

좀 둔한 질문이라 죄송하지만, 모든 코드를 검토해 달라는 건지 아니면 Discourse 필터 사용 부분만 봐 달라는 건지 정확히 모르겠습니다. 필터가 `$output`을 수정하고 템플릿 태그를 사용하여 값을 보간하도록 기대한다는 의미에서는 형식이 맞습니다. 자세한 내용은 이 주제를 참고해 주세요.

> [@Customize the structure of WP Discourse templates](https://meta.discourse.org/t/wp-discourse-template-customization/50754#add-the-featured-image-to-the-publish-template):
>
> The [WP Discourse](https://github.com/discourse/wp-discourse) plugin uses HTML templates to add markup to Discourse comments for publishing on WordPress and to WordPress posts for publishing on Discourse. The text content of these templates can be customized on the plugin’s options page. To change the structure of a templates requires you to add a function to your theme’s functions.php file This #howto will explain how to do that. The templates In the plugin’s code, the templates are static functions that return a mixture of html and templ…

---

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