Shortcode Star Rating



  • You can star rating in the article by using the shortcode.
  • It uses the built-in icon fonts(Dashicons), WordPress 3.8 or higher is required.

Example of how to use

  • [star rating=”3″] … Display 3 filled star and 2 blank star. e.g. ★★★☆☆
  • [star rating=”3.5″] … Display 3 filled star, 1 half star and 1 blank star.
  • [star rating=”85″ type=”percent”] … Express the value of the percentage. The range of values ​​is 0-100.
  • [star rating=”7″ max=”10″] … You can display the stars more than 5. e.g. ★★★★★★★☆☆☆
  • [star rating=”5″ numeric=”yes”] … Display the number. e.g. ★★★★★(5/5)


  • rating … Number of rating stars. Default value is ‘0’.
  • max … Limit of star to be displayed. Default value is ‘5’.
  • type … Choose the ‘percent’ or ‘rating’. Default value is ‘rating’
  • numeric … Display the numbers after the rating star. Default value is ‘no’.


In admin menu, ‘Settings’ -> ‘Shortcode Star Rating’

  • Star Color … Enter the HEX color code the color of the star. Default ‘#FCAE00’.
  • Adjust Star Size … If you check in this box, stars fit in a perent box size. It is fixed at 20px If you do not check.


  • Shorcode options example


Read all 9 reviews



  • Fixed errors when you set the ‘rating’ attr greater than the ‘max’ attr.


  • Released
  • Added setting page (Star color and size)
  • Displays an alert when you are using less than WordPress 3.8
  • Support the percentage value
  • Added ‘Star Rating’ quick tag


  • Changed codes based on wp_star_rating function


  • Development

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code