# WordPress 게시물 본문에 단일 게시물/댓글을 임베드할 수 있나요?

**URL:** https://meta.discourse.org/t/embed-a-single-post-reply-in-the-body-of-a-wordpress-post/182269
**Category:** WordPress
**Created:** [3월 6, 2021, 12:27오전 UTC](https://meta.discourse.org/t/embed-a-single-post-reply-in-the-body-of-a-wordpress-post/182269 "2021-03-06T00:27:21Z")
**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: [3월 7, 2021, 10:59오후 UTC](https://meta.discourse.org/t/embed-a-single-post-reply-in-the-body-of-a-wordpress-post/182269/2 "2021-03-07T22:59:40Z")

</div>

안녕하세요, @martym 님.

WordPress에서 기본적으로 제공되는 기능으로 특정 게시물의 댓글을 선택하는 가장 쉬운 방법은 다음 댓글 옵션을 사용하는 것입니다:

```plaintext
Only Import Moderator-Liked

```

다만, “단일” 게시물을 언급하셨고 게시물 본문에 이를 임베드하려는 의도이므로, 보다 정밀한 기능을 원하시는 것 같습니다. [WP Discourse](https://github.com/discourse/wp-discourse) Comments 기능은 게시물 번호(예: 이 게시물의 게시물 번호는 `2`입니다)를 기준으로 단일 게시물을 가져오거나, 이를 게시물 본문에 임베드하는 것이 불가능합니다.

이를 구현하려면 Discourse 인스턴스에서 특정 게시물을 가져와 렌더링하는 쇼트코드를 생성하는 커스텀 WordPress 스크립트(아마도 별도의 WordPress 플러그인 형태)를 작성해야 합니다. 이 쇼트코드는 게시물 번호를 인수로 받아야 합니다. 그런 다음 해당 쇼트코드를 게시물 본문에 사용하면 됩니다.

[WP Discourse](https://github.com/discourse/wp-discourse) 플러그인이 Discourse 인스턴스에 요청할 때 사용하는 기존 인증 정보를 쇼트코드의 요청에도 활용할 수 있으므로 구현 자체는 어렵지 않지만, 코딩 작업이 필요합니다.

---

_[View the full topic](https://meta.discourse.org/t/embed-a-single-post-reply-in-the-body-of-a-wordpress-post/182269)._
