Books WordPress Plugin

  • PHP
  • WordPress
  • SCSS

This site, featuring the work of author Brandon Sanderson, was built to showcase the Books WordPress plugin. The plugin was created so that authors could easily build a dynamic site to showcase their work. Simply add a book in the WordPress backend like you would a normal post and it will display fully formatted on the front end.

Brandon Sanderson website home page.

Books

The books section of the Books WordPress plugin allows users to enter in individual books into WordPress on the backend. Along with entering a title and description of the book, every book can have a publisher, publish date, page count, and price. Books can also be assigned genres and series.

Book Settings

In the setting for the plugin any one of these custom fields can be disabled. The currency option for the price may also be changed in the setting. Additionally, if you would prefer to change the name of books to something else, this can be changed in the plugin settings.

Add a book.

Reviews

The Books plugin comes with a Reviews post type that is linked to books. This allows users to add reviews for specific books, which are then shown below the details on an individual book page. The average review score is calculated and shown before the list of individual reviews. Specific parts of the view can be turned off in the settings, such as the score or the reviewer location.

The reviews also have a shortcode that can be added anywhere on the site. This code pulls a random review from all reviews that have been added to the site.

Recent Books Widget

The plugin come with a recent books widget which can be added to a sidebar or a footer on the site. The widget displays the most recent books that have been added to the site, the number of which can be configured in the widget options.

Visit Site