Title: Library Bookshelves
Author: photonicgnostic
Published: <strong>2017 年 8 月 28 日</strong>
Last modified: 2025 年 3 月 1 日

---

搜索插件

![](https://ps.w.org/library-bookshelves/assets/banner-772x250.jpg?rev=1720814)

![](https://ps.w.org/library-bookshelves/assets/icon-256x256.png?rev=1720814)

# Library Bookshelves

 作者：[photonicgnostic](https://profiles.wordpress.org/photonicgnostic/)

[下载](https://downloads.wordpress.org/plugin/library-bookshelves.5.11.zip)

 * [详情](https://cn.wordpress.org/plugins/library-bookshelves/#description)
 * [评价](https://cn.wordpress.org/plugins/library-bookshelves/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/library-bookshelves/#developers)

 [支持](https://wordpress.org/support/plugin/library-bookshelves/)

## 描述

The Library Bookshelves plugin allows you to curate virtual bookshelves just like
you would a shelf around a theme in your library. Bookshelves are displayed as customizable
Slick carousels, using cover art from and links to your library catalog. The plugin
creates a Bookshelves post type, shortcode, and custom taxonomy.

This plugin currently supports these catalog system OPACs:
 – Alexandria – Aspen–
Atriuum – BiblioCommons – Bibliotheca cloudLibrary – Calibre and COPS – Civica Spydus–
DB/Textworks – EBSCOHost Discovery Service – Evergreen – Ex Libris Primo – Hoopla–
III Encore, WebPAC PRO, Polaris, Vega – Insignia – Koha – Marmot Pika – OPAC SBN–
OpenLibrary.org – Overdrive – SirsiDynix Enterprise and Horizon – Surpass Cloud –
TLC – WorldCat

It supports retrieval of images from these third-party CDNs:
 – [Amazon](https://images-na.ssl-images-amazon.com)–
[ChiliFresh](https://secure.chilifresh.com) – [Baker & Taylor](https://contentcafe2.btol.com)–
[EBSCO](https://rps2images.ebscohost.com) – [OpenLibrary.org](http://covers.openlibrary.org)–
[Syndetics](http://syndetics.com) – [TLC](http://ls2content.tlcdelivers.com)

Bookshelves can be populated using:
 – Aspen API – BiblioCommons RSS feeds – Calibre
OPDS (and HTML) PHP Server API – Evergreen SuperCat feeds – JSON data from any web
address – Koha Reports Web Service – Koha RSS feeds – New York Times Books API –
OpenLibrary API – Pika API – Sierra API – SirsiDynix RSS feeds – SirsiDynix Symphony
Web Service – TLC LS2 PAC API

You can set the plugin to use catalogs or image servers not specifially listed in
the plugin settings. Select ‘Other’ catalog system or image server on the Catalog
Settings tab, paste a URL from your catalog or server, and replace the item identifier
with {ID}. If you think your catalog should be listed as a choice in the settings
let us know on the [support forum](https://wordpress.org/support/plugin/library-bookshelves/).

You may need to whitelist your web server IP in your ILS in order for this plugin
to access APIs. When using an API you can set a Bookshelf to update items on a regular
schedule using the WordPress cron system.

Originally developed by and for staff at the [Guilderland Public Library](https://guilderlandlibrary.org).

Thanks to Gregory Testa of Chesapeake Public Library and Josh Stompro of Lake Agassiz
Regional Library for feature suggestions and code contributions. Thanks to Emric
Taylor for the admin menu icon.

#### Configuration

 1. Go to _Bookshelves>Settings_ to configure the plugin.
 2. On the Catalog tab enter the domain name of your catalog (default is OpenLibrary.
    org).
 3. Select your catalog system and image server.
 4.  * If you have Polaris 6.3 or higher you may need to choose the Polaris 6.3+ catalog
       option if your item links fail.
     * ChiliFresh users may need to add their website domain to “Covered hosts” in 
       the ChiliFresh Admin Panel for images to display.
     * TLC users will need to enter a Customer ID which can be found in your catalog’s
       item cover art URLs.
     * If your catalog is not on the list you can select the Other option and enter
       an item or image URL, replacing the item ID with {ID}.
 5. Enter your Overdrive or cloudLibrary catalog URL if you wish to have Bookshelves
    link to that catalog. You can then set individual Bookshelves to link to your ebook
    catalog instead of your main catalog.
 6. On the Slider Settings tab you can customize Bookshelf behavior. Defaults have 
    been set to get you started.
 7. On the CSS Settings tab you can customize some Bookshelf element styles.

#### Getting Started

Create a new Bookshelf using ISBNs or UPCs from items in your catalog. You can input
items manually, from an exported list, or from a web service API. Paste the Bookshelf
shortcode into a post, page, or widget area. You can add location tags to your Bookshelves
to keep them organized and remember where you have them displayed on your site.

You can make a Bookshelf that links to an ebook catalog while having other Bookshelves
link to your main catalog. To do this, enter your ebook catalog URL(s) in addition
to your main catalog URL in the plugin settings. Create a new Bookshelf and choose
an option in the eBook Catalog box.

Captions can be displayed below the item images or overlaid on hover. See the new
options in Bookshelves > Settings > Slider Settings. There are customizable options
for captions on the Customize CSS tab.

**EBSCOHost users must enter Accession Numbers, and Calibre/COPS users must enter
book ID numbers instead of ISBNs or UPCs.**

#### REST API

You can modify Bookshelf items and alt text using the [WP REST API](https://developer.wordpress.org/rest-api/reference/posts).
The API endpoint for Bookshelf posts is https://{your.library.url}/wp-json/wp/v2/
bookshelves/. This plugin only supports the REST API in WordPress 5.3 and higher.

## 常见问题

### Q: This plugin doesn’t support my library’s catalog system. Will future versions support it?

A: Yes! But only if you [contact me](https://wordpress.org/support/plugin/library-bookshelves/)
with a link to your catalog! As soon as you do I’ll get working on an update. This
plugin is not compatible with these catalogs: Biblionix, Comics Plus, Follett Destiny,
Librarika, LibraryWorld, Verso.

### Q: I don’t know which CDN my catalog uses for item images. How do I find out?

A: Right click on an item image from your catalog and select _View Image_ or _Inspect_
to see the image URL.

### Q: I’ve set my catalog settings correctly, so why don’t item images appear?

A: Try an alternate ISBN if possible. Amazon, for example, only supports 10-digit
ISBNs. Not all CDNs will have images for every ISBN. In some cases you may get better
results using UPCs for DVD items.

## 评价

![](https://secure.gravatar.com/avatar/6be8290df27d2acbee00ce560bf0faca38225fd242945470be6b91dbff61faca?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9805/)󠁿

 [dexterlib](https://profiles.wordpress.org/dexterlib/) 2026 年 4 月 24 日

Works great, easy to configure, responsive dev. 5/5!

![](https://secure.gravatar.com/avatar/fe05eb99a8c11d27da5539e60d06587adc43fb1d9943dc6cec454bf7e07f0300?
s=60&d=retro&r=g)

### 󠀁[Essential for library hosted sites.](https://wordpress.org/support/topic/essential-for-library-hosted-sites/)󠁿

 [wiggythump](https://profiles.wordpress.org/wiggythump/) 2025 年 8 月 4 日

It’s an amazingly powerful tool to make your library homepage more engaging and 
dynamic for your patrons when they visit your site. Couldn’t be easier to use and
has worked reliably well for many years.

![](https://secure.gravatar.com/avatar/612ce45bc259e56ed4ce536a6ed6f8a3a6fc8179c1c190399c09133fa11339fd?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin, Responsive Developer](https://wordpress.org/support/topic/excellent-plugin-responsive-developer-5/)󠁿

 [Anonymous User 20231573](https://profiles.wordpress.org/anonymized-20231573/) 
2022 年 2 月 16 日

I’ve been using LB for several years now. It is perfect! The developer even added
functionality for an ILS on request. Amazing!

![](https://secure.gravatar.com/avatar/3ee882312453ee83c97231cc36fce044bd630edcd639734e810a7feda1fd663e?
s=60&d=retro&r=g)

### 󠀁[First-rate plugin](https://wordpress.org/support/topic/first-rate-plugin-5/)󠁿

 [B Eades](https://profiles.wordpress.org/brenteades/) 2020 年 9 月 4 日

I’m using this on two library sites, both running against SirsiDynix catalogues.
Worked flawlessly both times. Lots of options to customize look and feel. Start 
to finish setup was about 15 minutes each time.

![](https://secure.gravatar.com/avatar/74d981300f29f24eab13370755058f538c4dc7d65b81bbc978c6be08d874e994?
s=60&d=retro&r=g)

### 󠀁[Massive Time Saver](https://wordpress.org/support/topic/massive-time-saver-9/)󠁿

 [clefurgy](https://profiles.wordpress.org/clefurgy/) 2020 年 7 月 17 日

I am so appreciative of this plugin! We need to change images in our carousels for
new books all the time and this makes the process so much easier. Thank you, thank
you!

![](https://secure.gravatar.com/avatar/aab204ac3458aacba174f5decbe4442d16a206049ad2621f7618c3fd27984f0d?
s=60&d=retro&r=g)

### 󠀁[never worked](https://wordpress.org/support/topic/never-worked-14/)󠁿

 [pmccoy833](https://profiles.wordpress.org/pmccoy833/) 2020 年 6 月 21 日 1 回复

installed correctly, followed the settings in the limited instructions. I created
an open library.org account and generated a book list, but the plugin never synced
to the account. Tried adding a book manually and added the shortcode to a wordpress
page. The book cover image was broken and the URL link appeared as double offset
so you can’t tell what it is. The link works. I just removed it, a waste of 20 minutes.

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/library-bookshelves/reviews/)

## 贡献者及开发者

「Library Bookshelves」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ photonicgnostic ](https://profiles.wordpress.org/photonicgnostic/)

[帮助将「Library Bookshelves」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/library-bookshelves)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/library-bookshelves/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/library-bookshelves/)，或通过[RSS](https://plugins.trac.wordpress.org/log/library-bookshelves/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/library-bookshelves/)。

## 更新日志

#### 5.11

 * Fixed security issues.

#### 5.10

 * Fixed Bookshelf initialization script loading order errors that can occur with
   some themes.
 * Fixed image alt text escaping issue.

#### 5.9

 * Fixed XSS security issue.
 * Fixed Syndetics image URLs to allow placeholder images for items with no cover
   art.

#### 5.8

 * Added BiblioCommons RSS feed support.

#### 5.7

 * Added option to disable automatic Capitalization of item title and author metadata
   retrieved from web services.
 * Fixed Vega links to open item records instead of search results.

#### 5.6

 * Modified the URL format for Atriuum links. Fixed cloudLibrary links.

#### 5.5

 * Fixed a bug that caused the “This Bookshelf is empty.” notice to appear in the
   wrong place in some themes. Updated web service support to display error messages
   when a request fails, and to leave any existing Bookshelf items untouched if 
   no new items are retrieved from the server. This will prevent surprise empty 
   shelves if a scheduled post update fails. Added support for the Italian National
   Library Service catalog: OPAC SBN.

#### 5.4

 * Fixed Javascript processing order issues that might prevent Bookshelves from 
   appearing when using caching/optimizing plugins. Improved the custom image placeholder
   feature. Fixed caption CSS browser compatibility issue.

#### 5.3

 * Fixed a bug that broke COPS API support. Rewrote code deprecated in PHP 8.2. 
   Fixed an issue with Bookshelves in tabs in a Divi theme. Added support for SirsiDynix
   Enterprise RSS feeds.

#### 5.2

 * Added support for Atriuum. Fixed bug preventing CSS style settings from rendering
   on some servers.

#### 5.1

 * Added Aspen & Pika Search API support. Fixed a bug that could cause an error 
   when putting an empty Bookshelf in a widget area. Case correction is applied 
   to alt text when getting item info from a web service or API. Added an Other 
   option for catalog and image servers that lets you use catalogs not specifically
   supported by the plugin. Hid settings fields which were previously disabled based
   on catalog system and image server selections.

#### 5.0

 * Major update includes improved placeholder/missing image detection while reducing
   Bookshelf rendering time. Added option to upload an image to replace the placeholder
   image used by your image server. Removed the widget. Added an option to choose
   whether Bookshelf links open in the same or new tab/window. Added support for
   Vega catalogs. Added internationalization support.

#### 4.30

 * Fixed an issue with using Biblionumber to reference OPAC images when no ISBN 
   is given for items in Koha Reports.

#### 4.29

 * Improved data processing of Koha Reports. Added support for Insignia Discovery
   Layer, Surpass Cloud OPAC, and Alexandria. Added admin menu icon.

#### 4.28

 * Added the ability to show captions below images or overlaid on hover. Added more
   user-customizable CSS options. Fixed Encore catalog links to support individual
   library profiles. Added support for Aspen catalogs.

#### 4.27

 * Fixed bug causing the Catalog Profile field to grey out when Ex Libris Primo 
   catalog was selected.

#### 4.26

 * Added support for OpenLibrary API.

#### 4.25

 * Fixed bug causing Sympony Web Services API calls to fail.

#### 4.24

 * Added a sortable author column to the Bookshelves post list. Use Transform option
   turned off by default to fix blurring in Chromium browsers when slides are in
   motion.

#### 4.23

 * Improvements to API data processing. Bug fixes in Slick settings. When using 
   Koha RWS or RSS, the plugin will look for images on the Koha server if no ISBN
   is in the item record. Improved results when using Evergreen SuperCat feeds, 
   particularly for DVD items. Added an option to randomize item order in Bookshelves.

#### 4.22

 * Added option to disable links on Bookshelve item images. Minor bug fixes and 
   improved error-checking.

#### 4.21

 * Added DB/Textworks support. Added more user-customizable CSS options.

#### 4.20

 * Added support for cloudLibrary catalogs. Added the ability to reset the global
   Slick settings to plugin defaults. Added an option to import JSON data from the
   web into Bookshelves. Fixed a bug which caused the plugin to incorrectly interpret
   some site timezone settings.

#### 4.19

 * Added support for Evergreen SuperCat feeds. Fixed issue with item titles containing
   line feeds.

#### 4.18

 * Fixed a bug which caused broken links when using Evergreen record number with
   a location code set. Added the ability create Bookshelves that link to Overdrive
   or Hoopla, while also having Bookshelves that link to your main catalog.

#### 4.17

 * Added support for Koha Reports Web Service and RSS feeds. Fixed a problem with
   links affecting some TLC LS2 PAC catalogs.

#### 4.16

 * Added support for Overdrive and Hoopla. UX improvements to the catalog setting
   page.

#### 4.15

 * Added support for location IDs in Evergreen links. Fixed a bug that broke OpenLibrary
   links. Added support for Ex Libris Primo.

#### 4.14

 * Added support for Calibre OPDS (and HTML) PHP Server (COPS).

#### 4.13

 * Added support for Civica Spydus catalogs.

#### 4.12

 * Added support for the TLC LS2 PAC API. Now automatically removes items with bad
   image URLs when building a Bookshelf with an API query.

#### 4.11

 * Now supports WorldCat.org and WorldCat discovery service catalogs, and the New
   York Times Books API. Added REST API endpoints for the Bookshelves post type.

#### 4.10

 * Added a workaround for Encore users who have recently noticed ContentCafe images
   failing to load. Added support for the Marmot Pika List API.

#### 4.9

 * Added a second Polaris catalog option to fix redirect failures experienced with
   Polaris 6.3.2292.

#### 4.8

 * Fixed a bug which caused duplicate items to appear when using the Symphony Web
   Services API if an item record had more than one ISBN or UPC.
 * Fixed a bug which prevented some cover images from displaying when using the 
   Sierra API.

#### 4.7

 * Added support for Marmot Pika catalogs. Various code improvements and security
   enhancements.

#### 4.6

 * Added the ability to schedule periodic Bookshelf post updates when populating
   a shelf from an API request. Fixed issue with Syndetics image URLs containing
   UPC numbers.

#### 4.5

 * Added support for older TLC catalogs (Library System pre-5.0). Added support 
   for Baker & Taylor CDN credentials.

#### 4.4

 * Fixed bugs related to Sierra API requests.

#### 4.3

 * Added support for Sierra API requests. Polaris and WebPAC PRO users can now use
   ISBNs or UPCs.

#### 4.2

 * Added support for WebPAC PRO catalogs.

#### 4.1

 * Added an option to specify ISBN or UPC item identifiers when using the Syndetics
   CDN. Minor code improvements.

#### 4.0

 * Added options for processing data from web services. Added support for SirsiDynix
   Symphony Web Service API. Fixed a DVD image display issue caused by changes in
   the Syndetics CDN.

#### 3.2

 * Added support for Calibre servers. Some text changes and bug fixes.

#### 3.1

 * Changed some user-editable CSS defaults. Upgraded Slick to 1.9.0. Added option
   to select HTTP or HTTPS protocol for catalog URLs.

#### 3.0

 * Added a style editor to the settings page. Added Support for TLC catalogs. Added
   support for optional image ALT attributes to support screen readers. The widget
   now sorts Bookshelves by post order. Bookshelves now support post revisions. 
   Fixed some bugs.

#### 2.5

 * Fixed URL issue for SyrsiDynix Enterprise catalogs not configured with SSL certificates.

#### 2.4

 * Added support for item record number and UPC in addition to ISBN for Evergreen
   ILS and CDN.

#### 2.3

 * Added support for EBSCOHost Discovery Service.

#### 2.2

 * Fixed PHP 5.3 incompatibility which affected multi-site installs.

#### 2.0

 * Changed the ISBN input method to allow copy-and-pasting of delimited lists. Added
   customizable Slick options for each Bookshelf. Added Evergreen support. Fixed
   a CSS conflict that may occur with themes or plugins that also include Slick.
   Fixed some other minor bugs.

#### 1.10

 * Fixed a bug preventing some Slick CSS from rendering. Upgraded to Slick 1.8.1.

#### 1.9

 * Fixed a bug which prevented plugin settings from being read on some non-standard
   WordPress installations.

#### 1.8

 * Added profile support for Polaris catalogs.

#### 1.7

 * Added support for Koha.

#### 1.6

 * Fixed a bug which could occur if profile code field is left blank.

#### 1.5

 * Added a setting for profile code and added profile support for SirsiDynix Enterprise
   catalogs.

#### 1.4

 * Added support for ChiliFresh CDN. Fixed some Slick settings bugs.

#### 1.3

 * Compatible with PHP 5.3+. Links to Encore catalog are now HTTPS.

#### 1.2

 * Fixed bug with default settings. Added minimum PHP version.

#### 1.1

 * Added support for BiblioCommons, Polaris, and SirsiDynix catalogs.

#### 1.0

 * Initial version.

## 额外信息

 *  版本 **5.11**
 *  最后更新：**1 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/library-bookshelves/)
 * 标签
 * [books](https://cn.wordpress.org/plugins/tags/books/)[bookshelf](https://cn.wordpress.org/plugins/tags/bookshelf/)
   [catalog](https://cn.wordpress.org/plugins/tags/catalog/)[library](https://cn.wordpress.org/plugins/tags/library/)
 *  [高级视图](https://cn.wordpress.org/plugins/library-bookshelves/advanced/)

## 评级

 4.6 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/library-bookshelves/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/library-bookshelves/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/library-bookshelves/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/library-bookshelves/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/library-bookshelves/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/library-bookshelves/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/library-bookshelves/reviews/)

## 贡献者

 *   [ photonicgnostic ](https://profiles.wordpress.org/photonicgnostic/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/library-bookshelves/)