# WP Discourse plugin

**URL:** https://meta.discourse.org/t/wp-discourse-plugin/179064
**Category:** WordPress
**Created:** [February 9, 2021, 1:26pm UTC](https://meta.discourse.org/t/wp-discourse-plugin/179064 "2021-02-09T13:26:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ridhima\_Sharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ridhima_sharma/32/208351_2.png) [@Ridhima\_Sharma](https://meta.discourse.org/u/Ridhima_Sharma)
#### Post date: [February 9, 2021, 1:26pm UTC](https://meta.discourse.org/t/wp-discourse-plugin/179064/1 "2021-02-09T13:26:38Z")

</div>

Hello Team,

We are trying to integrate discourse to WordPress in a way where we are able to fetch the engagement data (views, replies) and the title, topic and display it on WordPress.

The discourse WP plugin offers is the ability to show a thread at the end of a blog by disabling the comments of the blog.

What we want to achieve is the ability to display the topic, with the engagement on it in form of a shortcode. Is that possible at all??

Thanks in advance!

---

<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: [February 10, 2021, 1:34am UTC](https://meta.discourse.org/t/wp-discourse-plugin/179064/2 "2021-02-10T01:34:06Z")

</div>

Hey Ridhima 🙂

I just wrote up a new section in the [WP Discourse](https://github.com/discourse/wp-discourse) Tips and Tricks topic describing how to obtain and display the metadata of a connected Discourse topic in Wordpress. Let me know if that’s what you’re after.

> [@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…
