# Discourse 与 Wordpress 集成

**URL:** https://meta.discourse.org/t/discourse-and-wordpress-integration/178535
**Category:** WordPress
**Created:** [2021年二月5日 11:32 UTC](https://meta.discourse.org/t/discourse-and-wordpress-integration/178535 "2021-02-05T11:32:59Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [2021年二月10日 01:35 UTC](https://meta.discourse.org/t/discourse-and-wordpress-integration/178535/4 "2021-02-10T01:35:24Z")

</div>

嘿 @Maharshi，

我已在“[WP Discourse](https://github.com/discourse/wp-discourse) 技巧与窍门”主题中撰写了新章节，介绍了如何在 WordPress 中显示已连接 Discourse 主题的元数据。请告诉我这是否解答了您的问题 🙂

> [@WP Discourse plugin tips and tricks](https://meta.discourse.org/t/wp-discourse-plugin-tips-and-tricks/50757#display-metadata-of-a-connected-discourse-topic):
>
> This topic has a number of tips and tricks for users of the [WP Discourse](https://github.com/discourse/wp-discourse) WordPress plugin. Adjust the comments\_number sync period for WordPress archive pages To get the correct number of Discourse comments for a post, the plugin needs to periodically make an HTTP request to Discourse to get the current comments number. On single pages this period is set to be no more often than every 10 minutes. For archive pages the period is set to no more than once every 24 hours. The reason for this is to a…

---

_[View the full topic](https://meta.discourse.org/t/discourse-and-wordpress-integration/178535)._
