WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Book Review Library

A book cataloguing and review system designed with bookophiles and librarians in mind.

Shortcodes & Shortcode Parameters

Book Review Library currently supports one shortcode. This page will list the shortcode variations and parameters supported and describe what each available option and parameter does.

Book Reviews

[book-reviews]

Displays a list of books. If used with no additional parameters, this will display all books, ordered by date added, with no covers and no review or excerpt displayed.

Count

[book-reviews count=5]

Defines how many books to display on a page. Takes any interger. Omit to display all posts. The above shortcode would display the 5 most recent book reviews. Can be used in conjunction with any of the other parameters.

Covers

[book-reviews covers=true]

Displays the book cover if it's been added to the review and if the theme supports it. Only accepted argument is true. Requires the theme to support post thumbnails. The above shortcode would display all books with book covers.

Order By

[book-reviews order_by=title]

Changes the order in which the books are displayed. By default, lists by date added. Accepted arguments are date_added, author -- lists by author's first name (unless authors have been added last name first, e.g. "Reynolds Chris"), title -- lists by book title. The above shortcode would display all books alphabetically by title.

Format

[book-reviews format=excerpt]

Determines whether to display the full review or an excerpt. Default is no review text displayed. Accepted arguments are full -- displays full book review, excerpt -- displays an excerpt of the review or none. The above shortcode would display all book reviews with an excerpt of each review.

Author

[book-reviews author=j-k-rowling]

Filters all book reviews by single author. Any slug of an existing book author is accepted. The above shortcode would display all books by J.K. Rowling. Alternately, when wrapped in quotes, you can use the full name of any existing book author. The following would also work to display all books by J.K. Rowling:

[book-reviews author="J.K. Rowling"]

Genre

[book-reviews genre=sci-fi]

Filters all book reviews by genre. Any existing genre slug is accepted. The above shortcode would display all books in the Sci-Fi genre. When wrapped in quotes, you can use the full name of any existing genre if the name matches the slug. The following would display all the books in the "Science Fiction" genre if that genre had a slug of science-fiction:

[book-reviews genre="Science Fiction"]

Requires: 3.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-8-3
Downloads: 7,798

Ratings

5 stars
5 out of 5 stars

Support

4 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,3,3
100,1,1