# 如何在没有自动发布的情况下启用帖子类型的可发布性

**URL:** <https://meta.discourse.org/t/hot-to-enable-publishability-for-a-post-type-without-auto-publish/358495>\
**Category:** WordPress\
**Created:** [2025年三月23日 13:15 UTC](https://meta.discourse.org/t/hot-to-enable-publishability-for-a-post-type-without-auto-publish/358495 "2025-03-23T13:15:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Firsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firsh/32/454861_2.png) [@Firsh](https://meta.discourse.org/u/Firsh)\
**Post date:** [2025年三月23日 13:15 UTC](https://meta.discourse.org/t/hot-to-enable-publishability-for-a-post-type-without-auto-publish/358495/1 "2025-03-23T13:15:55Z")

</div>

我有一个普通的“post”文章类型，它使用 [WP Discourse](https://github.com/discourse/wp-discourse) 插件按预期自动发布。我还有另一种文章类型，启用了 Gutenberg 编辑器，但唯一可以将现有或新创建/手动创建的主题（由社区创建）分配给它的方法是，如果我在这里标记它：

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/9/a/39ab9abd45785a7b57f97f4ba6a7777d0607d158.png)

但是，标记它不仅会在此处（编辑器右上角）启用与 Discourse 相关的 UI：

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/1/4/c1454d1ef94294405527ab7c2383200e08fd819b.png)

而且还会自动发布我对此文章类型的所有操作。 **我该如何区分这些问题？** 我是一名开发人员，如果能得到正确的指导，我可以应用一些代码。如果可能，我更倾向于手动将此文章类型的条目与其论坛中的主题链接起来。

---

_[View the full topic](https://meta.discourse.org/t/hot-to-enable-publishability-for-a-post-type-without-auto-publish/358495)._
