{"id":27873,"date":"2014-02-18T03:46:39","date_gmt":"2014-02-18T03:46:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bns-theme-details\/"},"modified":"2016-04-10T18:03:48","modified_gmt":"2016-04-10T18:03:48","slug":"bns-theme-details","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/bns-theme-details\/","author":914362,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4.1","stable_tag":"0.4.1","tested":"4.5.33","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"BNS Theme Details","header_author":"Edward Caissie","header_description":"","assets_banners_color":"e6e6e6","last_updated":"2016-04-10 18:03:48","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/buynowshop.com\/","header_plugin_uri":"http:\/\/buynowshop.com\/plugins\/bns-theme-details","header_author_uri":"http:\/\/edwardcaissie.com\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1969,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>Please stay current with your WordPress installation, your active theme, and your active plugins.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-228x128.png":{"filename":"icon-228x128.png","revision":"1055874","resolution":"228x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1055874","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"859878","resolution":"1544x500","location":"assets","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"859878","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","0.4.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"To be developed"}},"plugin_section":[],"plugin_tags":[4557,80,1249,13435,162],"plugin_category":[43,53],"plugin_contributors":[80960],"plugin_business_model":[],"class_list":["post-27873","plugin","type-plugin","status-publish","hentry","plugin_tags-details","plugin_tags-shortcode","plugin_tags-themes","plugin_tags-themes-details","plugin_tags-widget","plugin_category-customization","plugin_category-ratings-and-reviews","plugin_contributors-cais","plugin_committers-cais"],"banners":{"banner":"https:\/\/ps.w.org\/bns-theme-details\/assets\/banner-772x250.png?rev=859878","banner_2x":"https:\/\/ps.w.org\/bns-theme-details\/assets\/banner-1544x500.png?rev=859878","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bns-theme-details\/assets\/icon-256x256.png?rev=1055874","icon_2x":"https:\/\/ps.w.org\/bns-theme-details\/assets\/icon-256x256.png?rev=1055874","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin can be used to display the recent download count of a theme, as well as various other details such as the author and when it was last updated. It also includes a link to the WordPress Theme repository if it exists.\n* Copyright 2014-2015  Edward Caissie  (email : edward.caissie@gmail.com)<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License version 2,\n  as published by the Free Software Foundation.<\/p>\n\n<p>You may NOT assume that you can use any other version of the GPL.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License\n  along with this program; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<\/p>\n\n<p>The license for this software can also likely be found here:\n  http:\/\/www.gnu.org\/licenses\/gpl-2.0.html<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to 'Plugins' menu under your Dashboard<\/li>\n<li>Click on the 'Add New' link<\/li>\n<li>Search for BNS Theme Details<\/li>\n<li>Install.<\/li>\n<li>Activate through the 'Plugins' menu.<\/li>\n<li>Place the BNS Theme Details widget appropriately in the Appearance &gt; Widgets section of the dashboard; or use the default <code>[ bns_theme_details ]<\/code> shortcode (without the spaces) in a page or post.<\/li>\n<\/ol>\n\n<p>Reading this article for further assistance with plugin installation: http:\/\/wpfirstaid.com\/2009\/12\/plugin-installation\/<\/p>\n\n<p>\/** ---- *\/<\/p>\n\n<p>Shortcode Usage:<\/p>\n\n<ul>\n<li><code>[ bns_theme_details ]<\/code> - this is the default (less the spaces) which will display the current active theme on the site (provided it is hosted on the WordPress repository).<\/li>\n<\/ul>\n\n<p>Shortcode parameters (and their defaults):<\/p>\n\n<ul>\n<li><code>title =&gt; __return_null()<\/code> ... returns nothing<\/li>\n<li><code>theme_slug =&gt; wp_get_theme()-&gt;get_template()<\/code> ... uses the current theme; the theme name can also be used in place of its slug provided they are similar<\/li>\n<li><code>use_screenshot_link =&gt; true<\/code> ... displays main screenshot<\/li>\n<li><code>show_name =&gt; true<\/code> ... displays the theme name<\/li>\n<li><code>show_author =&gt; true<\/code> ... displays the author name<\/li>\n<li><code>show_last_updated =&gt; true<\/code> ... displays when the theme was last updated<\/li>\n<li><code>show_current_version =&gt; true<\/code> ... displays the current theme version<\/li>\n<li><code>show_rating =&gt; true<\/code> ... displays the current \"star\" rating of the theme<\/li>\n<li><code>show_number_of_ratings =&gt; true<\/code> ... displays the number of ratings the theme has received<\/li>\n<li><code>show_description =&gt; true<\/code> ... displays theme description (this is false by default in the widget section)<\/li>\n<li><code>show_downloaded_count =&gt; true<\/code> ... displays the total download count<\/li>\n<li><code>use_download_link =&gt; true<\/code> ... displays a download link pointing to the current version of the theme in the WordPress Theme repository<\/li>\n<li><code>show_changelog =&gt; true<\/code> ... displays the contents of the theme's <code>changelog.txt<\/code> file if it exists<\/li>\n<\/ul>\n\n<!--section=faq-->\n<p>Q: Why am I not seeing any Theme Details?<\/p>\n\n<p>This plugin currently only handles those themes that can be found in the WordPress Theme repository.<\/p>\n\n<!--section=changelog-->\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Released August 2015<\/li>\n<li>Updated to use PHP5 constructor objects<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Released December 2014<\/li>\n<li>Added \"in plugin update message\" functionality<\/li>\n<li>Added changelog to output (requires theme to use <code>changelog.txt<\/code> file)<\/li>\n<li>Added enqueue statement for scripts and styles<\/li>\n<li>Added CONSTANTS for \"DRY\" purposes and customization paths<\/li>\n<li>Added more specificity to the output for more finely tuned styles<\/li>\n<li>Added plugin \"icon\" assets<\/li>\n<li>Change sanity check to ensure <code>$theme_slug<\/code> is not empty versus not <code>null<\/code><\/li>\n<li>Corrected shortcode filter reference to indicate <code>bns_theme_details<\/code><\/li>\n<li>Corrected conditional statements (changed <code>===<\/code> to <code>==<\/code>)<\/li>\n<li>Modified <code>textdomain<\/code> to use full plugin slug <code>bns-theme-details<\/code><\/li>\n<li>Spice things up by leveraging BNS Inline Asides to minimize the Changelog display<\/li>\n<li>Switched order of \"Theme Name and Author\" with the \"Screenshot\"<\/li>\n<li>Updated required version to 3.6 in reference to the shortcode filter option<\/li>\n<li>Updated <code>exit_message<\/code> if WordPress version is too low<\/li>\n<li>Wrapped <code>&lt;img \/&gt;<\/code> tag in a <code>&lt;p \/&gt;<\/code> tag for better display compatibility<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Released February 2014<\/li>\n<li>Correct shortcode parameters not recognizing boolean checks<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Released February 2014<\/li>\n<li>Added theme description to output<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release - February 2014<\/li>\n<\/ul>","raw_excerpt":"Displays theme specific details such as download count, last update, author, etc.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27873"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cais"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27873"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27873"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27873"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27873"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27873"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}