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.


Latest version: Download BNS Site Data v0.4.3 [zip]


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:

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!


Q. Can I use this in more than one widget area?
A. 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.

Q. Where can I get help with this plugin?
A. Please note, support may be available on the WordPress Support forums; but, it may be faster to visit one of the following sites:

Q. Why does my site not look like the screenshot?
A. 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.



  • Released August 2015
  • Updated to use PHP5 constructor objects


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


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


  • 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


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


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


  • 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


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


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


  • Initial release

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2009-2016 BuyNowShop All rights reserved.
This site is using the Custom Child-Theme, v1.0.3, on top of
the Parent-Theme Desk Mess Mirrored, v2.5, from