# WordPress

**URL:** https://meta.discourse.org/c/support/wordpress/21.md?page=5

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 6

---

## [WP Discourse comment webhook does not trigger a WP Rocket Cache refresh](https://meta.discourse.org/t/wp-discourse-comment-webhook-does-not-trigger-a-wp-rocket-cache-refresh/236700)

<div class="topic-metadata">

**Author:** [@Brandon007](https://meta.discourse.org/u/Brandon007)\
**Replies:** 12\
**Last updated:** [December 18, 2022, 9:14pm UTC](https://meta.discourse.org/t/wp-discourse-comment-webhook-does-not-trigger-a-wp-rocket-cache-refresh/236700 "2022-12-18T21:14:12Z")

</div>

How do we handle page caching in Wordpress? I use WP-Rocket on our site, but page caching (same issue if only using Cloudflare APO) is preventing the comment count from updating. I verified this by disabling WP-Rocket (…

---

## [Wordpress posts published to Discourse include HTML?](https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439)

<div class="topic-metadata">

**Author:** [@vanclute](https://meta.discourse.org/u/vanclute)\
**Replies:** 6\
**Last updated:** [November 25, 2022, 4:09pm UTC](https://meta.discourse.org/t/wordpress-posts-published-to-discourse-include-html/246439 "2022-11-25T16:09:49Z")

</div>

I just tried my first manual push of a WP post into a Discourse topic. It worked, but ended up adding HTML that makes the post not look great, and I don’t like that HTML I didn’t specify is being added to my content. H…

---

## [Possible to publish from Wordpress only a specified category?](https://meta.discourse.org/t/possible-to-publish-from-wordpress-only-a-specified-category/246437)

<div class="topic-metadata">

**Author:** [@vanclute](https://meta.discourse.org/u/vanclute)\
**Replies:** 3\
**Last updated:** [November 22, 2022, 6:42pm UTC](https://meta.discourse.org/t/possible-to-publish-from-wordpress-only-a-specified-category/246437 "2022-11-22T18:42:59Z")

</div>

We have integrated Discourse into our Wordpress site, and posting manually works. I would however like to set up auto-posting to Discourse of only posts that fall into a specific category. I see we can exclude by tag, …

---

## [WP link back to Discourse not showing when using custom code](https://meta.discourse.org/t/wp-link-back-to-discourse-not-showing-when-using-custom-code/238252)

<div class="topic-metadata">

**Author:** [@Joep\_Kannegieter](https://meta.discourse.org/u/Joep_Kannegieter)\
**Replies:** 12\
**Last updated:** [October 17, 2022, 9:23am UTC](https://meta.discourse.org/t/wp-link-back-to-discourse-not-showing-when-using-custom-code/238252 "2022-10-17T09:23:58Z")

</div>

Hi there, I have an issue where on the WP side there is no link available to the Discourse forum. Just some answers on forum topics i found about this: All ’ Text Content’ fields are filled in in the WP admin → Plugi…

---

## [Automatically Select Topic Category Based on Post Category?](https://meta.discourse.org/t/automatically-select-topic-category-based-on-post-category/229058)

<div class="topic-metadata">

**Author:** [@oopsyscoops](https://meta.discourse.org/u/oopsyscoops)\
**Replies:** 8\
**Last updated:** [October 10, 2022, 7:33am UTC](https://meta.discourse.org/t/automatically-select-topic-category-based-on-post-category/229058 "2022-10-10T07:33:20Z")

</div>

I intentionally have all the exact same categories in both WordPress and Discourse, but there’s no option to assign the post category as the topic category, so I just have to manually set it after each time I publish. S…

---

## [Wordpress plugin and html-as-text (especially for mail)](https://meta.discourse.org/t/wordpress-plugin-and-html-as-text-especially-for-mail/240502)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**Replies:** 7\
**Last updated:** [October 5, 2022, 12:04pm UTC](https://meta.discourse.org/t/wordpress-plugin-and-html-as-text-especially-for-mail/240502 "2022-10-05T12:04:58Z")

</div>

We have the Wordpress plugin set up to post full topics to an announcements category on our forum. This works pretty well, but the email messages Discourse sends out are marked Content-Type: text/plain; charset=UTF-8. A…

---

## [Using Discourse as SSO provider but facilitating users continuing task on Wordpress?](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706)

<div class="topic-metadata">

**Author:** [@glenatron](https://meta.discourse.org/u/glenatron)\
**Replies:** 2\
**Last updated:** [October 4, 2022, 10:03am UTC](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706 "2022-10-04T10:03:38Z")

</div>

We have a Wordpress site with an associated Discourse instance and it’s all working fine except that there are some learning activities on the Wordpress side that requires a user to be signed in. If a user already exists…

---

## [When a Discourse topic gets disconnected from its Wordpress post](https://meta.discourse.org/t/when-a-discourse-topic-gets-disconnected-from-its-wordpress-post/239898)

<div class="topic-metadata">

**Author:** [@prostasia](https://meta.discourse.org/u/prostasia)\
**Replies:** 3\
**Last updated:** [September 24, 2022, 6:36am UTC](https://meta.discourse.org/t/when-a-discourse-topic-gets-disconnected-from-its-wordpress-post/239898 "2022-09-24T06:36:29Z")

</div>

I am facing a new issue where existing links between a Wordpress post and its Discourse thread are disappearing from Wordpress. This doesn’t affect the Discourse thread, which is still linked to the post as normal. The W…

---

## [Other custom code on WP installation is preventing WP Discourse from redirecting back to forum](https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523)

<div class="topic-metadata">

**Author:** [@wesochuck](https://meta.discourse.org/u/wesochuck)\
**Replies:** 6\
**Last updated:** [September 14, 2022, 1:11pm UTC](https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523 "2022-09-14T13:11:23Z")

</div>

We are using DiscourseConnect through WP Discourse and have gone through the excellent setup guide here on meta. However, after the wordpress login appears, we’re redirected to the wordpress profile page instead of DIsco…

---

## [How to embed Discourse in Wordpress?](https://meta.discourse.org/t/how-to-embed-discourse-in-wordpress/238650)

<div class="topic-metadata">

**Author:** [@Alaa](https://meta.discourse.org/u/Alaa)\
**Replies:** 2\
**Last updated:** [September 11, 2022, 12:11pm UTC](https://meta.discourse.org/t/how-to-embed-discourse-in-wordpress/238650 "2022-09-11T12:11:25Z")

</div>

I’m wondering how to embed Discourse community website in wordpress so that Discourse will have the same Header and Footer of WP?

---

## [Discourse live examples & a few questions](https://meta.discourse.org/t/discourse-live-examples-a-few-questions/90279)

<div class="topic-metadata">

**Author:** [@TCW](https://meta.discourse.org/u/TCW)\
**Replies:** 8\
**Last updated:** [September 7, 2022, 9:29am UTC](https://meta.discourse.org/t/discourse-live-examples-a-few-questions/90279 "2022-09-07T09:29:35Z")

</div>

Hi all, I’m launching a product review website and I am interested in using Discourse. First question: can you show me your site where you’re using Discourse? Second question: Rather than just having a single thread of…

---

## [How to configure Discourse as the sole user-facing login/sign-up provider for Wordpress site](https://meta.discourse.org/t/how-to-configure-discourse-as-the-sole-user-facing-login-sign-up-provider-for-wordpress-site/238149)

<div class="topic-metadata">

**Author:** [@glenatron](https://meta.discourse.org/u/glenatron)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 3:32pm UTC](https://meta.discourse.org/t/how-to-configure-discourse-as-the-sole-user-facing-login-sign-up-provider-for-wordpress-site/238149 "2022-09-05T15:32:28Z")

</div>

We are setting up a Wordpress site with an associated Discourse community and I anticipate most user interactions to be happening on Discourse, but we’re looking at setting up a Wordpress Learning Management System that …

---

## [WP as DiscourseConnect client: Signature parse error/Bad signature error (solved)](https://meta.discourse.org/t/wp-as-discourseconnect-client-signature-parse-error-bad-signature-error-solved/237390)

<div class="topic-metadata">

**Author:** [@citizentools](https://meta.discourse.org/u/citizentools)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 1:56pm UTC](https://meta.discourse.org/t/wp-as-discourseconnect-client-signature-parse-error-bad-signature-error-solved/237390 "2022-08-28T13:56:38Z")

</div>

\[Update: Resolved. The secret was set incorrectly in Discourse, due to a double paste. Corrected that, and all is well.\] I’ve set up our Discourse instance as a DiscourseConnect provider and our wordpress site as a Disc…

---

## [SSO Redirect Issues](https://meta.discourse.org/t/sso-redirect-issues/216011)

<div class="topic-metadata">

**Author:** [@dbwhite](https://meta.discourse.org/u/dbwhite)\
**Replies:** 7\
**Last updated:** [March 4, 2022, 12:56am UTC](https://meta.discourse.org/t/sso-redirect-issues/216011 "2022-03-04T00:56:03Z")

</div>

I am integrating Discourse with Wordpress via the WP Discourse plugin and using Wordpress as the Discourse Connect provider, however I’m running into an issue where an unauthenticated user visiting the discourse instance…

---

## [Sync Wordpress and Discourse categories](https://meta.discourse.org/t/sync-wordpress-and-discourse-categories/236966)

<div class="topic-metadata">

**Author:** [@Evgeniy\_Zubrilin](https://meta.discourse.org/u/Evgeniy_Zubrilin)\
**Replies:** 4\
**Last updated:** [August 24, 2022, 2:47pm UTC](https://meta.discourse.org/t/sync-wordpress-and-discourse-categories/236966 "2022-08-24T14:47:48Z")

</div>

Hey, could you help me how to sync Wordpress and Discourse categories? E.g., when user on my website create new category, I want it to be created in Discourse, and both post and forum topic will have the same category.

---

## [Can No Longer Force Publish with Classic Editor?](https://meta.discourse.org/t/can-no-longer-force-publish-with-classic-editor/229057)

<div class="topic-metadata">

**Author:** [@oopsyscoops](https://meta.discourse.org/u/oopsyscoops)\
**Replies:** 8\
**Last updated:** [June 9, 2022, 12:03pm UTC](https://meta.discourse.org/t/can-no-longer-force-publish-with-classic-editor/229057 "2022-06-09T12:03:35Z")

</div>

I’m not adopting the new Block features of WordPress and am sticking with Classic. I just noticed that the WP Discourse plugin had an update for a setting I use, Force Publish: This setting is only applied when the Bl…

---

## [Unable to create user in Discourse from WP with new registration form](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700)

<div class="topic-metadata">

**Author:** [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)\
**Replies:** 12\
**Last updated:** [July 28, 2022, 6:59pm UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700 "2022-07-28T18:59:07Z")

</div>

I have Discourse Connect setup with WP as the main register and login instance. I have two user registration forms with different flows Standard registration from Homepage (this is the old one and still creates a user…

---

## [Not able to login](https://meta.discourse.org/t/not-able-to-login/232823)

<div class="topic-metadata">

**Author:** [@Rupak\_Shrestha](https://meta.discourse.org/u/Rupak_Shrestha)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 8:20am UTC](https://meta.discourse.org/t/not-able-to-login/232823 "2022-07-14T08:20:21Z")

</div>

I cannot able to login to discourse, i have deactived wpdiscourse plugin but discourse redirect to my wordpress site. After i login to wordpress it redirect to a wordpress post, cannot go to discourse. url: https://web…

---

## [Embedding a category in WordPress](https://meta.discourse.org/t/embedding-a-category-in-wordpress/232299)

<div class="topic-metadata">

**Author:** [@mustafamohsen](https://meta.discourse.org/u/mustafamohsen)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 11:22am UTC](https://meta.discourse.org/t/embedding-a-category-in-wordpress/232299 "2022-07-09T11:22:39Z")

</div>

I have a private membership WordPress site, and I want to add a private discussion board to. My purpose is to keep it accessible to members only, as long as their membership is maintained (which I guess I achieved via SS…

---

## [WPDiscourse - Logout not working](https://meta.discourse.org/t/wpdiscourse-logout-not-working/232011)

<div class="topic-metadata">

**Author:** [@Fma965](https://meta.discourse.org/u/Fma965)\
**Replies:** 5\
**Last updated:** [July 7, 2022, 9:18am UTC](https://meta.discourse.org/t/wpdiscourse-logout-not-working/232011 "2022-07-07T09:18:59Z")

</div>

?request=logout Results in the following Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/vhosts/localhost/html/wp-includes/http.php:251 Stack trace: #0 /var/www/vhosts/localhost/…

---

## [Manually copying over comments from Wordpress, how do I can create user accounts?](https://meta.discourse.org/t/manually-copying-over-comments-from-wordpress-how-do-i-can-create-user-accounts/72654)

<div class="topic-metadata">

**Author:** [@Quintin\_Par](https://meta.discourse.org/u/Quintin_Par)\
**Replies:** 24\
**Last updated:** [July 4, 2022, 3:32pm UTC](https://meta.discourse.org/t/manually-copying-over-comments-from-wordpress-how-do-i-can-create-user-accounts/72654 "2022-07-04T15:32:25Z")

</div>

I am migrating my wordpress comments to discourse. Is it possible to manually create a user account without touching the command line? I am outsourcing this task and can’t give access to the machine.

---

## [Possible to post already published posts from WordPress to Discourse?](https://meta.discourse.org/t/possible-to-post-already-published-posts-from-wordpress-to-discourse/48127)

<div class="topic-metadata">

**Author:** [@jenkma02](https://meta.discourse.org/u/jenkma02)\
**Replies:** 3\
**Last updated:** [June 28, 2022, 1:17pm UTC](https://meta.discourse.org/t/possible-to-post-already-published-posts-from-wordpress-to-discourse/48127 "2022-06-28T13:17:28Z")

</div>

I am in the process of integrating a current blog with Discourse, and I have it set so that all new wordpress posts are automatically posted to discourse. Based on the way the options look, it would seem that it would be…

---

## [WP + Discourse; New User SSO not working](https://meta.discourse.org/t/wp-discourse-new-user-sso-not-working/231029)

<div class="topic-metadata">

**Author:** [@pearsonified](https://meta.discourse.org/u/pearsonified)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 5:09pm UTC](https://meta.discourse.org/t/wp-discourse-new-user-sso-not-working/231029 "2022-06-24T17:09:38Z")

</div>

Hoping y’all can help me with a little issue here… I’ve set up WP Discourse and Discourse, and everything looks good. However, I had a customer sign up (on the WordPress side of things) before Discourse was connected, …

---

## [How to sync the Topic view count back to the discourse?](https://meta.discourse.org/t/how-to-sync-the-topic-view-count-back-to-the-discourse/230129)

<div class="topic-metadata">

**Author:** [@j3ang](https://meta.discourse.org/u/j3ang)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 4:49pm UTC](https://meta.discourse.org/t/how-to-sync-the-topic-view-count-back-to-the-discourse/230129 "2022-06-16T16:49:56Z")

</div>

Hi all, I have built an VUE SPA with discourse API to use on Wordpress, and was wondering if there’s way to send a POST request to update the Topic view count to discourse when user open the Topic on Wordpress?

---

## [Cannot connect Discourse to WordPress](https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073)

<div class="topic-metadata">

**Author:** [@CMASFO](https://meta.discourse.org/u/CMASFO)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 4:03pm UTC](https://meta.discourse.org/t/cannot-connect-discourse-to-wordpress/229073 "2022-06-06T16:03:14Z")

</div>

I made api key, typed url, api, username, and this is what I get from the WP Discourse plugin. You are not connected to Discourse. Check that your connection settings are correct. If the issue persists, enable connectio…

---

## [Wordpress integration/Plugin](https://meta.discourse.org/t/wordpress-integration-plugin/229162)

<div class="topic-metadata">

**Author:** [@omiebi](https://meta.discourse.org/u/omiebi)\
**Replies:** 7\
**Last updated:** [June 6, 2022, 3:58pm UTC](https://meta.discourse.org/t/wordpress-integration-plugin/229162 "2022-06-06T15:58:36Z")

</div>

Hello everyone, is it possible to embed a Wordpress site on my self hosted discourse community?

---

## [What scopes exactly does the Wordpress API key need?](https://meta.discourse.org/t/what-scopes-exactly-does-the-wordpress-api-key-need/175812)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**Replies:** 12\
**Last updated:** [May 24, 2022, 4:34pm UTC](https://meta.discourse.org/t/what-scopes-exactly-does-the-wordpress-api-key-need/175812 "2022-05-24T16:34:19Z")

</div>

I would prefer to not give a global API key to the wordpress plugin. I don’t want a compromise in the wordpress site to result in user accounts deleted (or edited, or logged out). However, limiting the scopes by guesswor…

---

## [WP Discourse Plugin Slow Error comment-formatter.php:62](https://meta.discourse.org/t/wp-discourse-plugin-slow-error-comment-formatter-php-62/226267)

<div class="topic-metadata">

**Author:** [@Ryan\_Collins1](https://meta.discourse.org/u/Ryan_Collins1)\
**Replies:** 7\
**Last updated:** [May 23, 2022, 7:27am UTC](https://meta.discourse.org/t/wp-discourse-plugin-slow-error-comment-formatter-php-62/226267 "2022-05-23T07:27:39Z")

</div>

Hey team, I hope you are all doing well. The WP Discourse Plugin has been hugely helpful for me and my community. I just wanted to reach out to see if you might be able to help me with something. Recently my Wordpress w…

---

## [Add Groups and Categories (with security) with WP-Discourse or the API?](https://meta.discourse.org/t/add-groups-and-categories-with-security-with-wp-discourse-or-the-api/212787)

<div class="topic-metadata">

**Author:** [@timgrahl](https://meta.discourse.org/u/timgrahl)\
**Replies:** 7\
**Last updated:** [May 17, 2022, 12:27pm UTC](https://meta.discourse.org/t/add-groups-and-categories-with-security-with-wp-discourse-or-the-api/212787 "2022-05-17T12:27:14Z")

</div>

We run a membership through our Wordpress/Woocommerce system. We’ve been using Discourse on a subdomain with the SSO for a couple years and it’s been working great. I have code in my functions file that adds/removes Grou…

---

## [Filtering the available categories for a custom post type doesn't seem to work on blocks](https://meta.discourse.org/t/filtering-the-available-categories-for-a-custom-post-type-doesnt-seem-to-work-on-blocks/226987)

<div class="topic-metadata">

**Author:** [@Fma965](https://meta.discourse.org/u/Fma965)\
**Replies:** 6\
**Last updated:** [May 16, 2022, 5:22pm UTC](https://meta.discourse.org/t/filtering-the-available-categories-for-a-custom-post-type-doesnt-seem-to-work-on-blocks/226987 "2022-05-16T17:22:44Z")

</div>

I seen this but it seems it’s fixed? \<?php add\_filter( 'wp\_discourse\_publish\_categories', 'my\_namespace\_filter\_categories', 10, 2 ); function my\_namespace\_filter\_categories( $categories, $post ) { if ( 'asbuilt-db' =…

[Previous page](https://meta.discourse.org/c/support/wordpress/21.md?page=4)

[Next page](https://meta.discourse.org/c/support/wordpress/21.md?page=6)
