# WP Discourse Embed Plugin

**URL:** https://meta.discourse.org/t/wp-discourse-embed-plugin/30814
**Category:** WordPress
**Tags:** wordpress
**Created:** [July 6, 2015, 3:42am UTC](https://meta.discourse.org/t/wp-discourse-embed-plugin/30814 "2015-07-06T03:42:08Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [September 3, 2016, 6:50pm UTC](https://meta.discourse.org/t/wp-discourse-embed-plugin/30814/4 "2016-09-03T18:50:11Z")

</div>

To fix published date and author for topics linked to old WP posts see:

> [@Fix published date and author for topics created via wp-discourse-embed plugin](https://meta.discourse.org/t/fix-published-date-and-author-for-topics-created-via-wp-discourse-embed-plugin/49681):
>
> I recently installed [wp-discourse-embed](https://github.com/techAPJ/wp-discourse-embed) plugin on [Quarter to Three](http://www.quartertothree.com/fp) WordPress blog. As soon as I installed the plugin there was an influx of new topics being created for existing (old) WP posts. I ran this rake task to fix the published date and author for topics that are linked to old WP posts: desc "Fetch WP data" task "users:fetch\_wp\_data" =\> [:environment] do puts "Fetching WP data" i = 0 TopicEmbed.find\_each do |topic\_embed| begin html = open(topic\_embed.embed\_url).read …

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-embed-plugin/30814)._
