Book Grid

描述

Book Grid lets you effortlessly showcase book cover galleries as a stylish grid layout. Add books quickly by title—the block fetches cover images from OpenLibrary automatically—and display attractive captions. The block features responsive settings to control the number of columns by device, advanced margin and background controls, and engaging hover effects for interactivity.

Translations:
* Spanish (es_ES) – Included
* Translation Ready – All text strings are internationalized. Community translations are welcome!

External Services

  • What: Open Library search and cover image APIs (openlibrary.org, covers.openlibrary.org)
  • Use: Look up book cover IDs and download cover images so the block can render book art automatically.
  • Data sent: The book title you enter in the block is sent as a search query when you add or update a book. Cover image requests include the cover ID returned by Open Library. No other data is transmitted.
  • Terms and privacy: Terms of ServicePrivacy Policy

Source Code and Build

This plugin ships compiled JS/CSS in the build/ directory. The human-readable source code is publicly available in src/ at https://github.com/vianasw/book-grid. To regenerate the compiled assets, install Node.js dependencies with npm install and run npm run build (uses @wordpress/scripts).

Developer Notes

Source Code: https://github.com/vianasw/book-grid
Build Instructions:
1. Clone the repository
2. Run npm install
3. Run npm run build to compile assets

This plugin uses @wordpress/scripts for building. All source files are in the src/ directory of the GitHub repository.

Arbitrary section

Great for book lists, reviews, reading challenges, libraries, and any content requiring book cover displays in a modern, grid gallery format.

区块

该插件提供了 1 个区块.

  • Book Grid Display a responsive, customizable grid of book covers fetched from OpenLibrary by title (or uploaded), with overlay captions, flexible layout, and fallback placeholders.

安装

  1. Upload the plugin files to the /wp-content/plugins/book-grid directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

常见问题

How are images fetched from OpenLibrary?

The block uses the public OpenLibrary Cover Images API, automatically looking up covers based on the book titles you enter.

Can I change how many columns show on mobile or tablet?

Yes, you can adjust column numbers for desktop, tablet, and mobile views in the block settings.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

「Book Grid」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Book Grid」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.0

  • Initial release