WP Discourse Publishing with a default user, and grabbing the actual WP post 'created_at' date

AI-generated summary

kiefferr shares feedback on the WP Discourse plugin, highlighting two specific areas for improvement regarding content publishing. First, they report that setting a specific author (such as the ‘system’ user) via the publish-username field does not work as intended when publishing FAQ posts. Instead, the original WordPress author is still displayed. They suggest adding a dedicated flag under the Publishing tab to allow users to enforce a default or system username for all published topics, eliminating the need for workarounds.

Second, kiefferr requests that Discourse capture and display the actual created_at date from the WordPress post rather than the timestamp of when it was synced or published to Discourse. They note that this current behavior can lead to discrepancies between the actual publication time on WordPress and the appearance on the forum. The post concludes with gratitude for the existing functionality while offering these constructive suggestions for future updates.

Hello! We’ve been happily using the WP Discourse plugin on a few sites for a few years now. Running into a few minor squawks however where the functionality appears to not be working as intended or could be improved.

  1. We’re looking to publish a bunch of FAQs posts as topics and we want the default ‘system’ user to always show as the author of those posts. But the setting below has no effect on which author gets picked up:

It would be great to have a flag under the Publishing tab that says “always publish under the system username” or “always publish with default username”. The file discourse-published.php controls this - publish-username is the field where we have ‘system’ in it - there should be an option to publish with this user without workarounds :slight_smile:

  1. Separately, when publishing posts it would be great for Discourse to pickup the actual Published date of the WP post:

That’s all i got! Thanks!