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

Popular This Week

外掛說明

Popular This Week is a plugin similar to Popularity Contest, but only records hits that happened in the last week. It then shows the most popular posts or pages in the last week as widget you can use in your theme.

It’s useful for high volume, high traffic sites where posts age quite quickly, and you do not necessarily want to direct your users to old content, but what people are reading right now. An example of the widget being used is here: http://www.nouse.co.uk/

安裝方式

Set up the plugin as per usual and it’ll appear as a widget to be configured, where you can configure the amount of posts displayed.

There is one additional change. In your theme, open the single.php file and add <?php if (function_exists('ptw_countview')) ptw_countview(); ?> inside the loop. If you want your post views to count when seen elsewhere (not just on their own), insert that code everywhere else too.

常見問題集

Why is it so complex to set up?

Because I’m a complex guy. In the future I’ll probably improve it, but for
the moment you’ll have to deal with it.

No hits are being recorded

Check you’ve added the ptw_countview() somewhere in your theme.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Popular This Week〉的開發相關工作。

參與者

將〈Popular This Week〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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