這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Disqus Popular Threads Widget

描述

Integrates with the Disqus API to show your most popular threads (most commented posts). Can be added via sidebar widget, template tag, or shortcode.

For more information or to request additional features, please visit the plugin page

螢幕截圖

  • The Disqus Popular Threads Widget.

安裝

  1. Upload the plugin to your ‘wp-content/plugins’ directory, or download and install automatically through your admin panel.

  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

  3. Visit the plugin admin page via Settings -> Disqus Settings

  4. You’ll need to add your Disqus Public API Key, Forum ID (Disqus Site Shortname), and Domain Info. For information on obtaining your Disqus API Key, visit the plugin homepage.

To Display Disqus Popular Threads Via WordPress Widget

From your admin console, go to Appeareance > Widgets, drag the Disqus Popular Threads Widget to wherever you want it to be and click on Save.

To Display Disqus Popular Threads Via Shortcode

[wdp_threads days_back = '7d' show_threads = 5 ]

To Display Disqus Popular Threads Via Template Tag

<?php wdp_get_threads( $days_back = '7d', $show_threads = 5, $echo = true ); ?>

Parameters

  1. Days Back – ‘1h’, ‘6h’, ’12h’, ‘1d’, ‘3d’, ‘7d’, ’30d’, ’90d’

  2. Number of Threads – # of posts to return

常見問題

Where can I get more information about using Disqus Popular Threads Widget?

See the plugin homepage.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Disqus Popular Threads Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Disqus Popular Threads Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

Addressed issue with the comment count not matching.

1.1

API was returning the slug in some cases. Checking for those cases.

1.0

First public release March 2013