[WordPress] 外掛分享: WP Year End Stats

前言介紹

  • 這款 WordPress 外掛「WP Year End Stats」是 2008-06-07 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2014-12-29,距離現在已有 3789 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.0 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sudar |

外掛標籤

posts | stats | comments |

內容簡介

此外掛可顯示有關您的部落格的華麗統計數據,您可以在年終回顧文章中使用。

需要 PHP 5.3 或更高版本,無法在 PHP 5.2.x 中使用。

功能

此外掛目前支援以下統計數據:

每年發布的文章總數
每年收到的評論總數
每年寫作的總字數
每年文章的平均字數

簡碼

您可以使用以下簡碼在您的部落格中顯示統計數據。

`[yes_stats type="post_num" start_year="2004" end_year="2014" range="to" post_type="post" post_status="publish" title="圖表標題" height="500" width="500" ] ```

yes_stats 簡碼可包含以下屬性

type - 圖表類型。以下為允許的值

post_num - 按年份排列的文章總數 (預設值)
comment_num - 按年份排列的評論總數
post_avg_length - 按年度平均文章字數
post_totoal_length - 按年度文章總字數

start_year - 圖表的第一年 (預設值:當前年份)
end_year - 圖表的最後一年 (預設值:當前年份)
range - 年份的處理方式,可能的值有 to (預設值) 和 and
post_type - 產生圖表的文章類型 (預設值:post)
post_status - 產生圖表的文章狀態 (預設值:publish)
title - 圖表標題
height - 圖表高度 (預設值:500px)
width - 圖表寬度 (預設值:500px)

待辦事項

以下是我想增加到此外掛的功能,當我有空時間時會加入。如果您有任何功能請求或想提高特定功能的優先級,請告訴我。

新增更多統計數據
使圖表更可配置
快取數據

支援

如果您發現錯誤/問題或有功能請求,請在 github issues 上張貼。
如果您對使用方式有疑問或需要協助進行疑難排解,請在 WordPress 論壇上張貼或在 此外掛的首頁上留言。
如果您喜歡此外掛,請在 WordPress 插件庫頁面 上留下評論/反饋。
如果您找到此外掛有用或想要說聲謝謝,請查看其他我編寫的 WordPress 插件。
如果還有其他任何事項,請在 Twitter 上與我聯繫。

翻譯

此外掛附帶 pot 檔案。如果您想為此外掛進行翻譯,
可使用 pot 檔案創建您語言的 .po 檔案,並且讓我知道。

鳴謝

感謝 Alex King 為他的 b 函式庫。

原文外掛簡介

Displays fancy stats about your blog which you can include in your year end review posts.
Requires PHP 5.3 or higher. Will not work in PHP 5.2.x
Features
The plugin currently supports the following stats

Total number of posts per year
Total number of comments per year
Total number of words written per year
Average length of posts per year

Shortcode
You can use the following shortcode to display stats in your blog.
`[yes_stats type="post_num" start_year="2004" end_year="2014" range="to" post_type="post" post_status="publish" title="Title of the graph" height="500" width="500" ] ```

The yes_stats shortcode can have the following attributes

type – The type of graph. The following are the allowed values.

post_num – Number of posts by year (default)
comment_num – Number of posts by year
post_avg_length – Average length of posts by year
post_totoal_length – Total length of posts by year

start_year – The first year for the graph (default: current year)
end_year – The last year for the graph (default: current year)
range – How the years should be treated. Possible values are to (default) and and
post_type – The post type for which the graph should be generated (default: post)
post_status – The post status for which the graph should be generated (default: publish)
title – Title for the graph
height – Height of the graph (Default: 500px)
width – Width of the graph (Default: 500px)

TODO
The following are the features that I am thinking of adding to the Plugin, when I get some free time. If you have any feature request or want to increase the priority of a particular feature, then let me know.

Add more stats
Make the graphs more configurable
Cache the stats

Support

If you have found a bug/issue or have a feature request, then post them in github issues
If you have a question about usage or need help to troubleshoot, then post in WordPress forums or leave a comment in plugins’s home page
If you like the Plugin, then kindly leave a review/feedback at WordPress repo page.
If you find this Plugin useful or and wanted to say thank you, then there are ways to make me happy 🙂 and I would really appreciate if you can do one of those.
Checkout other WordPress Plugins that I have written
If anything else, then contact me in twitter.

Translation
The pot file is available with the Plugin. If you are willing to do translation for the Plugin,
use the pot file to create the .po files for your language and let me know.
Credits

Thanks to Alex King for his blog stats SQL scripts and for the inspiration.
Thanks to the excellent Flot JavaScript library.

Readme Generator
This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Year End Stats」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.2 | 0.3 | 0.4 | 0.5 | 1.0 | 0.4.1 | 0.5.1 | trunk |

延伸相關外掛(你可能也想知道)

  • WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
  • Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
  • GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
  • YARPP – Yet Another Related Posts Plugin 》WordPress 相關文章外掛, Yet Another Related Posts Plugin (YARPP) 是一個經過專業維護、高度自訂和功能豐富的外掛程式,可以顯示與當前文章相關的頁面、文...。
  • WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
  • WordPress Popular Posts 》WordPress Popular Posts 是一個高度可定製的小工具,可以顯示您最受歡迎的文章。, 主要特點, , 多小工具功能 – 您可以在您的博客上擁有多個 WordPress...。
  • Public Post Preview 》此外掛可讓您分享一個鏈接給匿名使用者,以便他們在發布前預覽文章(或其他公開文章類型)。, 您是否曾經與沒有訪問您網站權限的人共同撰寫文章,並需要給予...。
  • List category posts 》List Category Posts 可以讓你透過使用 [catlist] 短碼在文章或頁面中按類別列出文章。在編輯頁面或文章時,直接插入短碼到文章中,文章就會被列出來。基本的...。
  • Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
  • CMS Tree Page View 》將所有頁面和自訂文章以 CMS 樹狀概覽方式添加到 WordPress,類似於專注於頁面的 CMS 中經常找到的檢視方式。, 如果您的目標是將多個內容類型合併到單一檢視...。
  • Category Posts Widget 》Category Posts Widget是一個輕巧的小工具,設計用於一件事並且做得很好:顯示特定類別中最新的文章。, 基於詞語和類別的文章小工具, 這個免費小工具的高級版...。
  • WP Telegram (Auto Post and Notifications) 》完美整合 Telegram 至 WordPress,讓您完全掌握控制。, Telegram 的卓越 LIVER 支援, 加入聊天室, 我們在 Telegram 上有一個公開小組,提供協助設置外掛、討...。
  • WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
  • Ultimate Post Kit Addons For Elementor – (Post Grid, Post Carousel, Post Slider, Category List, Post Tabs, Timeline, Post Ticker and Tag Cloud) 》Ultimate Post Kit Elementor 外掛程式是首個允許您全新且清新地設計部落格網站的外掛程式。這是博客作者、行銷人員和文章類型網站擁有者的最佳工具。, Ultim...。
  • Reading Time WP 》WP Reading Time 讓你輕鬆地在 WordPress 文章中加入預估閱讀時間。啟用這個外掛會自動在你的文章內容的開始加入閱讀時間。你可以在「閱讀時間」設定中取消這...。

文章
Filter
Apply Filters
Mastodon