{"id":33817,"date":"2015-01-07T21:55:01","date_gmt":"2015-01-07T21:55:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/display-site-numbers\/"},"modified":"2024-03-13T17:11:28","modified_gmt":"2024-03-13T17:11:28","slug":"display-site-numbers","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/display-site-numbers\/","author":14187274,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.4.8","requires":"4.0.1","requires_php":"","requires_plugins":null,"header_name":"Display Site Numbers","header_author":"Fabio Marzocca","header_description":"","assets_banners_color":"3c342b","last_updated":"2024-03-13 17:11:28","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=58XFDXEP4336Y","header_plugin_uri":"https:\/\/github.com\/fmarzocca\/display-site-numbers","header_author_uri":"http:\/\/www.marzocca.net","rating":5,"author_block_rating":0,"active_installs":20,"downloads":2883,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.5":{"tag":"0.5","author":"fmarzocca","date":"2015-01-08 14:11:21"},"0.6":{"tag":"0.6","author":"fmarzocca","date":"2015-01-22 09:18:19"},"0.7":{"tag":"0.7","author":"fmarzocca","date":"2015-02-17 09:41:43"},"0.8":{"tag":"0.8","author":"fmarzocca","date":"2015-08-08 08:19:13"},"0.9":{"tag":"0.9","author":"fmarzocca","date":"2016-03-31 12:30:19"},"1.1":{"tag":"1.1","author":"fmarzocca","date":"2024-03-13 17:11:28"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1062537,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1062537,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.6","0.7","0.8","0.9","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1073264,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1062537,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1062537,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1063143,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"The admin backend","2":"The widget frontend","3":"Another view of the frontend, with a different style","4":"A view of the shortcode output in a post\/page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[24094,24093,173,162],"plugin_category":[43],"plugin_contributors":[225443,84708],"plugin_business_model":[],"class_list":["post-33817","plugin","type-plugin","status-publish","hentry","plugin_tags-count-categories","plugin_tags-count-posts","plugin_tags-counters","plugin_tags-widget","plugin_category-customization","plugin_contributors-dylan-k","plugin_contributors-fmarzocca","plugin_committers-fmarzocca"],"banners":{"banner":"https:\/\/ps.w.org\/display-site-numbers\/assets\/banner-772x250.jpg?rev=1062537","banner_2x":"https:\/\/ps.w.org\/display-site-numbers\/assets\/banner-1544x500.jpg?rev=1062537","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/display-site-numbers_3c342b.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/display-site-numbers\/assets\/screenshot-1.png?rev=1073264","caption":"The admin backend"},{"src":"https:\/\/ps.w.org\/display-site-numbers\/assets\/screenshot-2.png?rev=1062537","caption":"The widget frontend"},{"src":"https:\/\/ps.w.org\/display-site-numbers\/assets\/screenshot-3.png?rev=1062537","caption":"Another view of the frontend, with a different style"},{"src":"https:\/\/ps.w.org\/display-site-numbers\/assets\/screenshot-4.png?rev=1063143","caption":"A view of the shortcode output in a post\/page."}],"raw_content":"<!--section=description-->\n<h4>Widget<\/h4>\n\n<p>The widget will show (and automatically update) the following site-content counters:<\/p>\n\n<ul>\n<li>Categories count<\/li>\n<li>Posts count<\/li>\n<li>Pages count<\/li>\n<li>Images count<\/li>\n<li>Tags count<\/li>\n<li>Comments count<\/li>\n<li>Authors count<\/li>\n<\/ul>\n\n<p>In the admin backend, user can select what counter(s) to display.<\/p>\n\n<h4>Shortcode<\/h4>\n\n<p>Add this shortcode in your page\/post:<\/p>\n\n<pre><code>[DSN-list]\n<\/code><\/pre>\n\n<p>to show all the 6 counters. If you want to specify what counter(s) to show, use this syntax;<\/p>\n\n<pre><code>[DSN-list show=\"Categories, Comments, Posts]\n<\/code><\/pre>\n\n<p>Valid terms in the list are: Categories, Comments, Posts, Pages, Authors, Images, Tags.<\/p>\n\n<blockquote>\n  <p>If you like the plugin, feel free to rate it (on the right side of this page) or <a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=58XFDXEP4336Y\">donate via PayPal<\/a>. Thanks a lot! :)<\/p>\n<\/blockquote>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>display-site-numbers<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place the widget<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20customize%20the%20style%20in%20the%20widget%3F'><h3>Can I customize the style in the widget?<\/h3><\/dt>\n<dd><p>Yes, all elements are included in <em>DSN-wrapper<\/em> div. Left items are in the <em>item<\/em> class, while counters are in <em>count<\/em> class. You can override them in your child theme style.css<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Adding support for custom post types<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Implementing Selective Refresh Support<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Ensuring compatibility with WP 4.3<\/li>\n<li>Removed deprecated php4 code<\/li>\n<li>Ready for php7<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Added Norwegian localization<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Added pages count<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added shortcode<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>First working version<\/li>\n<\/ul>","raw_excerpt":"Widget and shortcode to display all relevant site content numbers","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33817"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fmarzocca"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33817"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33817"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33817"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33817"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33817"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}