# WP-Discourse \> 'Publish all new posts to Discourse.' \> not working

**URL:** <https://meta.discourse.org/t/wp-discourse-publish-all-new-posts-to-discourse-not-working/58250>\
**Category:** WordPress\
**Created:** [2017 年 3 月 2 日午後 7:48 UTC](https://meta.discourse.org/t/wp-discourse-publish-all-new-posts-to-discourse-not-working/58250 "2017-03-02T19:48:28Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![trudat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trudat/32/104354_2.png) [@trudat](https://meta.discourse.org/u/trudat)\
**Post date:** [2017 年 3 月 8 日午後 5:49 UTC](https://meta.discourse.org/t/wp-discourse-publish-all-new-posts-to-discourse-not-working/58250/16 "2017-03-08T17:49:10Z")

</div>

Quick update.

Instead of the theme, I am modifying the syndication plugin (FeedWordpress), inserting meta at appropriate places.

> [@simon](#):
>
> add\_post\_meta( $post\_id, ‘publish\_to\_discourse’, 1 );

Results are inconsistent. Sometimes it works, sometimes the page needs to be reloaded a couple times before it takes. But in principle it’s definitely doable.

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-publish-all-new-posts-to-discourse-not-working/58250)._
