# Prévia da lista de tópicos no Wordpress

**URL:** <https://meta.discourse.org/t/topic-list-preview-in-wordpress/89947>\
**Category:** WordPress\
**Created:** [15 Junho , 2018 05:57 UTC](https://meta.discourse.org/t/topic-list-preview-in-wordpress/89947 "2018-06-15T05:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [16 Junho , 2018 02:04 UTC](https://meta.discourse.org/t/topic-list-preview-in-wordpress/89947/10 "2018-06-16T02:04:52Z")

</div>

If you are using the [WP Discourse](https://github.com/discourse/wp-discourse) plugin, the wp-discourse-shortcodes plugin might do what you are looking for. It extends the [WP Discourse](https://github.com/discourse/wp-discourse) plugin to add a `discourse_topics` shortcode. It can be used without any attributes to give you a list of the 6 latest topics on your forum. Attributes can be added to the shortcode to control how many topics are displayed, and whether or not you would like to display an excerpt along with the topics. The attributes are documented in the plugin’s README.

With the excerpt\_length set to 55, it will display something like this:

 ![39%20PM](https://global.discourse-cdn.com/meta/original/3X/7/6/76353f85e78daddf4212d85fd1105b0fecdc935d.png)

To install the plugin, you’ll need to download it as a zip file from it’s GitHub page: [https://github.com/scossar/wp-discourse-shortcodes](https://github.com/scossar/wp-discourse-shortcodes)

---

_[View the full topic](https://meta.discourse.org/t/topic-list-preview-in-wordpress/89947)._
