Download the PHP package jazzsequence/book-review-library without Composer

On this page you can find all versions of the php package jazzsequence/book-review-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package book-review-library

Book Review Library

Contributors: jazzsequence
Donate link: https://paypal.me/jazzsequence
Tags: book, book review, library, librarian, reading level, custom post type
Requires at least: 4.0
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.4.25
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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

Description

The Book Review Library plugin allows you to create a library of books, with reviews, that include sortable meta information like author, illustrator, genre, subjects as well as ratings. This enables you to list all the books of a particular type (e.g. all books written by a particular author or with a specific rating). With very little effort, the book review system will be up and running on your site right away, with built in filters to add this extra information to the page without any custom theming.

A configurable shortcode is also built in, to display a book list. [book-reviews] will display all books, while [book-reviews count=3] will only display 3 books and [book-reviews count=3 covers=true] will display those reviews with their covers, if they exist.

Two sidebar widgets have also been included. A Recent Reviews widget will display the most recent book reviews that have been added, and a Related Books widget will display a list of similar books when you are looking at a single book or book list by common genre tags.

Theme developers haven't been forgotten either. If you want to customize the way the reviews display, create and edit these template files:

Additionally, there are a number of template tags that can be used in your theme, which are found in inc/func.php.

This plugin uses the Genericons icon font in both the dashboard and the front end to display the book icons and star ratings.

Installation

Via Composer

Book Review Library can be installed on Composer-based WordPress sites by using the following command:

Via Git Updater

Book Review Library supports Andy Fragen's Git Updater method of managing plugins.

  1. Download and install Git Updater on your WordPress site.
  2. From the Git Updater admin pages, navigate to Install Plugin and use the following values:

Plugin URI: jazzsequence/book-review-library
Repository Branch: main
Remote Repository Host: GitHub
GitHub Access Token: (optional, leave blank)

Via WordPress Plugin Repository

The plugin can be installed via the WordPress plugin repository, however, the version in the repository may not be the most current version. Use the standard methods of searching for and installing the plugin from the Plugins page in your WordPress dashboard.

Translators!

New translations site is up at https://chrisreynolds.io/glotpress/projects/book-review-library/ Please email me at hello at chrisreynolds dot io if you want to be added as a translator.

About this plugin

I sat down with a librarian and a volunteer at the Open Classroom charter school library and asked them what they wanted from the website. The result is this plugin. It was built with a real use-case in mind based on specific feedback I received about things they wanted to share with the school and wider community. If you have questions or suggestions, feel free to let me know.

Note

This plugin hasn't been in active development for a while. However a major revision/rewrite has been planned for some time. The plugin is stable and works with all versions of WordPress and I'm happy to review/merge pull requests on the GitHub repo or respond to support queries you may have but no new features are planned until after the rewrite is complete.

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"]

Installation

  1. Upload book-review-library.zip to the /wp-content/plugins/ directory or use the built-in plugin installer on the WordPress Plugin Dashboard page.
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. That's it! Start writing reviews. :)

Frequently Asked Questions

Ask some!

I have HTML displaying at the top of my page/next to the book cover/somewhere else. How do I get rid of this?

This is most likely because your theme is using the_title in a link or somewhere else. This plugin adds a filter to the_title to display the book's author. To prevent this behavior (and fix your problem), go to the Options page in the Book Reviews menu and disable "Display author with title". The author will no longer display with the book title and will, instead, be displayed with the genre information.

I get a 404 error when I try to view a book review.

Go to Permalinks in the General Settings and just re-save your settings. This will update your .htaccess file and should resolve the problem.

I have xxxx problem when I sort by author...

Here are the known issues with sorting by author. Unfortunately, at this time, there isn't much that can be done about most of them because sorting by author is kind of a hack...

Books with multiple authors display multiple times in the list.

Reason: This is because we're doing a separate loop through all the books for each author. When it sees that book with multiple authors again, it will add that as a separate entry.

Workaround: If you have one book that has multiple authors, the easiest solution is to add them as a single author, e.g. "Brad Williams Ozh Richard and Justin Tadlock" -- that way the book will only have a single "author" term associated with it.

When I sort by author, it's sorting by their first name, not their last name.

Reason: This is because each author is entered into the database as a "term", similar to a category. So, while I can make sure that "Orange" comes after "Apple" I can't do anything about "Orange Mackenzie" coming after "Apple Smith" programmatically, because if I tried to feed "Smith, Apple" back into the loop that's being done to pull up the list of books, "Smith, Apple" wouldn't match any entries and no results would be found.

Workaround: If you must have books sorted by author last name, you can add the authors last name first, e.g. "Williams Brad".

Changelog

1.4.25

1.4.24

1.4.23

1.4.22

1.4.21

1.4.20

1.4.19

1.4.18

1.4.17

1.4.16

1.4.15

1.4.14

1.4.13

1.4.12

1.4.11

1.4.10

1.4.9

1.4.8

1.4.7

1.4.6

1.4.5

1.4.4

1.4.3

1.4.2

1.4.1

1.4

1.3.5

1.3.4

1.3.3

1.3.2

1.3.1

1.3

1.2.1

1.2.0

1.1.0

1.0.3

1.0.2

1.0.1

1.0


All versions of book-review-library with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jazzsequence/book-review-library contains the following files

Loading the files please wait ...