# 我想在我的WP页面中看到Discourse条目

**URL:** <https://meta.discourse.org/t/i-want-to-see-discourse-entries-in-my-wp-pages/255255>\
**Category:** WordPress\
**Created:** [2023年二月15日 15:35 UTC](https://meta.discourse.org/t/i-want-to-see-discourse-entries-in-my-wp-pages/255255 "2023-02-15T15:35:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023年二月15日 17:04 UTC](https://meta.discourse.org/t/i-want-to-see-discourse-entries-in-my-wp-pages/255255/2 "2023-02-15T17:04:04Z")

</div>

欢迎回来 🙂

> [@Hilario](#):
>
> 我需要的是更像是将 Discourse 用作 WP 的博客

您已经在使用 WordPress 了吗？  
如果您还没有设置好，并且不需要 WP 特定的功能，那么我建议您使用这个 Discourse 的新闻插件：

> [@News Plugin newspaper](https://meta.discourse.org/t/news-plugin/107971?u=canapin):
>
> The News Plugin adds a new “News” route to your forum. The latest topics in a category(s) (or from an RSS feed) are displayed in a large, news-like format, with an optional sidebar with a topic list. It adds a link to the News route in the header bar. It is inspired by the [Elektronauts news feed](https://www.elektronauts.com/news). [page_facing_up Get the code](https://github.com/paviliondev/discourse-news)[bug Report a bug](https://discourse.pluginmanager.org/w/bug-report)Lost? Not sure how to install a plugin? [Follow the steps here](https://meta.discourse.org/t/install-plugins-in-discourse/19157). Make sure you check out all the site se…

如果您想让 Discourse 主题显示为 WP 上的文章，可能有几种方法可以做到。

您可以创建一个 WP 插件，该插件加载主题列表（在 Discourse 页面的末尾附加 `.json`，例如 [https://meta.discourse.org/latest.json](https://meta.discourse.org/latest.json) 来获取数据），或者使用 Discourse 网页钩子在 WP 上创建重复的文章：

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/2/2/d2299732a7b24052a90067a4b54b5c3827ea190e.png)

可能还有更实用的方法可以做到这一点；我不是这个领域的专家 🙂

---

_[View the full topic](https://meta.discourse.org/t/i-want-to-see-discourse-entries-in-my-wp-pages/255255)._
