{"id":14011,"date":"2011-07-13T15:44:51","date_gmt":"2011-07-13T15:44:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/count-shortcode\/"},"modified":"2011-09-28T15:52:51","modified_gmt":"2011-09-28T15:52:51","slug":"count-shortcode","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/count-shortcode\/","author":8080225,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"trunk","tested":"3.2.1","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"Count Shortcode","header_author":"The Federal Communications Commission","header_description":"","assets_banners_color":"","last_updated":"2011-09-28 15:52:51","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/","header_author_uri":"http:\/\/fcc.gov\/developers","rating":4,"author_block_rating":0,"active_installs":10,"downloads":2618,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[13036,3524,4057,80,521],"plugin_category":[36,43],"plugin_contributors":[91310],"plugin_business_model":[],"class_list":["post-14011","plugin","type-plugin","status-publish","hentry","plugin_tags-counting","plugin_tags-data","plugin_tags-queries","plugin_tags-shortcode","plugin_tags-statistics","plugin_category-analytics","plugin_category-customization","plugin_contributors-fcc","plugin_committers-benbalter","plugin_committers-fcc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/count-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Shortcode to count number of posts that match a given set of criteria; provides link to query to display list of matching posts.<\/p>\n\n<p>Works with both built in post types (pages, posts) and taxonomies (tags, categories), as well as custom post types and custom taxonomies.<\/p>\n\n<p><strong>Example<\/strong><\/p>\n\n<p>You have a car custom post type and would like a count of all the red cars in your inventory, as well as a link to a listing of those cars.<\/p>\n\n<p>Red Cars in Inventory: [count color=red]<\/p>\n\n<p>Would return the number of cars, as well as a link to yoursite.com\/?color=red (which may rewrite depending on your permalink structure)<\/p>\n\n<p><strong>Usage<\/strong><\/p>\n\n<p>Insert a shortcode in your post in the form of [count {taxonomy}={value}]. You can add as many or as fiew taxonomies as you would like.<\/p>\n\n<p>You can also use the post_type argument to specify a post type (page, post, car, etc.)<\/p>\n\n<p><strong>List Usage<\/strong><\/p>\n\n<p>You can count all terms within a taxonomy, e.g., [list-counts taxonomy=\"tags\"] or across all taxonomies [list-counts].<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin as you would any other plugin<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added ability to display counts of all terms in a taxonomy, or across all taxonomies<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Shortcode to count number of posts that match a given set of criteria; provides link to query to display list of matching posts","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14011"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fcc"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14011"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14011"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14011"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14011"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14011"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}