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

BNS Site Data

外掛說明

Display various site statistics (read: counts) such as: posts, pages, categories, tags, comments, and attachments. Each site statistic can be toggled via a checkbox in the widget option panel.
* Copyright 2012-2015 Edward Caissie (email : edward.caissie@gmail.com)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.

You may NOT assume that you can use any other version of the GPL.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-2.0.html

螢幕擷圖

  • The options panel as it appears in default.
  • The default widget and default shortcode output (using sample data).

安裝方式

Under the Plugins | Add New menu item:

  • Using Search: look for “BNS Site Data” and click the install link, or
  • Using Upload: locate the archive file from your desktop and click the “Upload Now” button

Read this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/

Shortcode: bns_site_data

Parameters are very similar to the plugin:

  • ‘posts’ => true,
  • ‘pages’ => true,
  • ‘categories’ => true,
  • ‘tags’ => true,
  • ‘comments’ => true,
  • ‘attachments’ => true,

NB: Use the shortcode at your own risk!

常見問題集

Can I use this in more than one widget area?

Yes, this plugin has been made for multi-widget compatibility. Each instance of the widget will display, if wanted, differently than every other instance of the widget.

Where can I get help with this plugin?

Please note, support may be available on the WordPress Support forums; but, it may be faster to visit one of the following sites:

  • https://github.com/Cais/bns-site-data/issues/
  • http://buynowshop.com/plugins/bns-site-data/
Why does my site not look like the screenshot?

The screenshot was taken as an example when the plugin is used with the Twenty Ten theme. How the widget displays is strongly affected by the active theme styles.
I would recommend creating and using the ‘bns-site-data-custom-style.css’ stylesheet to set the style according to your own tastes and preferences.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈BNS Site Data〉的開發相關工作。

參與者

將〈BNS Site Data〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.4.3

  • Released August 2015
  • Updated to use PHP5 constructor objects

0.4.2

  • Released New Year’s Day 2015
  • Ensure $value is being used as an integer in i18n implementation

0.4.1

  • Released New Year’s Eve 2014
  • Specifically add function to load plugin textdomain

0.4

  • Released December 2014
  • Added bns-site-data.pot file for translators
  • Added “in plugin update message”
  • Added WordPress version check for 3.6 with exit messages
  • Changed bns-sd text domain to bns-site-data
  • Improved i18n implementation on output labels
  • Renamed function to __construct from BNS_Site_Data_Widget
  • Updates to code formatting to better meet WordPress Coding Standards

0.3.2

  • Released September 2013
  • Added third parameter to shortcode_atts for automatic filter creation

0.3.1

  • Release May 2013
  • Version number compatibility update
  • Removed border and padding in widget areas

0.3

  • Release February 2013
  • Added code block termination comments
  • Moved all code into class structure
  • Renamed BNS_Site_Data_Scripts_and_Styles to scripts_and_styles

0.2

  • Release November 2012
  • Add custom script (end-user supplied) file call

0.1.1

  • Correct error with undefined function
  • Correct typos in file headers

0.1

  • Initial release