[average-ratings]

The [average-ratings] shortcode displays a list of each taxonomy term (given a taxonomy) and the average rating for all books within that term.

Attributes

  • for - (required) - Name of a taxonomy. Accepted options are: book-author, book-series, book-publisher, book-genre, book-source, book-format.
  • year - (optional) - Enter a year (i.e. "2016") to limit the results to posts published in a given year. Omit this option to not impose a year restriction and instead count every single post.

Example

[average-ratings for="book-source"]

Still need help? Contact Us Contact Us