# קישור הפרסום של Discourse עבור סוג פוסט מותאם אישית נעלם

**URL:** <https://meta.discourse.org/t/discourse-publishing-link-for-custom-post-type-disappears/252473>\
**Category:** WordPress\
**Created:** [21 בינואר,‏ 2023,‏ 5:54am UTC](https://meta.discourse.org/t/discourse-publishing-link-for-custom-post-type-disappears/252473 "2023-01-21T05:54:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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 בפברואר,‏ 2023,‏ 9:09am UTC](https://meta.discourse.org/t/discourse-publishing-link-for-custom-post-type-disappears/252473/11 "2023-02-03T09:09:32Z")

</div>

Your issue is not with the [WP Discourse](https://github.com/discourse/wp-discourse) plugin. You need to enable `custom-fields` support in the code that registers the Meta Box custom post types you’re using. The [WP Discourse](https://github.com/discourse/wp-discourse) sidebar will then work as expected.

```plaintext
your_prefix_register_post_type() {
  ...
  $args = [
     ...
     'supports' => ['title', 'editor', 'thumbnail', 'custom-fields']
  ]
}

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-publishing-link-for-custom-post-type-disappears/252473)._
