{"id":38411,"date":"2015-08-24T17:35:57","date_gmt":"2015-08-24T17:35:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/better-woocommerce-stars-shortcode\/"},"modified":"2015-08-24T17:54:39","modified_gmt":"2015-08-24T17:54:39","slug":"better-woocommerce-stars-shortcode","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/better-woocommerce-stars-shortcode\/","author":78844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"4.8.28","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Better WooCommerce Stars Shortcode","header_author":"ClickNathan","header_description":"","assets_banners_color":"e7e7e7","last_updated":"2015-08-24 17:54:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/clicknathan.com\/web-design\/better-woocommerce-star-ratings-shortcode-plugin\/","header_author_uri":"","rating":3.7,"author_block_rating":0,"active_installs":60,"downloads":4991,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1229437","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1229437","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2295,8203,80,4020,286],"plugin_category":[43,45,53],"plugin_contributors":[88942,85135],"plugin_business_model":[],"class_list":["post-38411","plugin","type-plugin","status-publish","hentry","plugin_tags-rating","plugin_tags-ratings","plugin_tags-shortcode","plugin_tags-stars","plugin_tags-woocommerce","plugin_category-customization","plugin_category-ecommerce","plugin_category-ratings-and-reviews","plugin_contributors-clicknathan","plugin_contributors-rooteerooroo","plugin_committers-clicknathan"],"banners":{"banner":"https:\/\/ps.w.org\/better-woocommerce-stars-shortcode\/assets\/banner-772x250.png?rev=1229437","banner_2x":"https:\/\/ps.w.org\/better-woocommerce-stars-shortcode\/assets\/banner-1544x500.png?rev=1229437","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/better-woocommerce-stars-shortcode_e7e7e7.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Creates a shortcode, <code>[woocommerce_rating id=\"n\"]<\/code>,  that displays the rating, in stars, of any WooCommerce product.  <code>[woocommerce_rating]<\/code> will show the star rating of the current product.  This plugin requires WooCommerce.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Log in to your WordPress dashboard, then click Plugins-&gt;add new.  <\/li>\n<li>Search for the Woocommerce Stars Shortcode plugin in the plugin repository.<\/li>\n<li>Click the \"install now\" link under the name of the plugin.<\/li>\n<li>Activate the plugin.  <\/li>\n<\/ol>\n\n<p>Or, if you prefer: \n1. Upload <code>woocommerce_stars_shortcode.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory\n2. Activate the plugin through the 'Plugins' menu in WordPress<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Log in to your WordPress dashboard, then click Plugins-&gt;add new.  <\/li>\n<li>Search for the Woocommerce Stars Shortcode plugin in the plugin repository.<\/li>\n<li>Click the \"install now\" link under the name of the plugin.<\/li>\n<li>Activate the plugin.  <\/li>\n<\/ol>\n\n<p>Or, if you prefer: \n1. Upload <code>woocommerce_stars_shortcode.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory\n2. Activate the plugin through the 'Plugins' menu in WordPress<\/p><\/dd>\n<dt>How about some instructions?<\/dt>\n<dd><p>Instructions are here: http:\/\/clicknathan.com\/web-design\/better-woocommerce-star-ratings-shortcode-plugin\/<\/p><\/dd>\n<dt>What are the short code options?<\/dt>\n<dd><p>[woocommerce_rating id=\"n\"] is the default. Replace \"n\" with the ID of the product you want to show the ratings for.<\/p>\n\n<p>[woocommerce_rating id=\"n\" link=\"false\"] Add this if you don't want the star rating to be a link.<\/p>\n\n<p>[woocommerce_rating id=\"n\" newwindow=\"true\"] Add this if you want the link to open in a new window.<\/p>\n\n<p>[woocommerce_rating id=\"n\" alttext=\"Some alternative text\"] This allows you to customize the text shown when a product has not yet been rated.<\/p>\n\n<p>[woocommerce_rating id=\"n\" displayaverage=\"true\"] This will add a number, the average of all ratings for this product, after the stars, like ( 3.25 )<\/p>\n\n<p>[woocommerce_rating id=\"n\" displaycount=\"true\"] This will add a number, the total number of ratings for this product, after the stars, like ( 420 )<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Updated the shortcode options to allow displaying an average count and total count after the star display<\/li>\n<li>Made the newwindow option \"false\" by default.<\/li>\n<li>Plugin now injects necessary CSS via wp_footer<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"Creates a shortcode that displays the rating, in stars, of any WooCommerce product.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=38411"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/clicknathan"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38411"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38411"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38411"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38411"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38411"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}