這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Pan Macmillan Book Extracts

外掛說明

This plugin creates a shortcode for displaying extracts directly from the Pan Macmillan extracts API (extracts.panmacmillan.com). You can use this to show the selected extract (usually the first chapter) of a book you are blogging about within your post. This works with any book published by Pan Macmillan UK or by one of the subsidiary imprints (Bluebird, Tor, Mantle, Picador).

安裝方式

Install the plugin by uploading the .zip file or using the WordPress Plugin Manager.

Example Extract link shortcodes:

Plain Extract

[extract title=”Mightier Than The Sword” author=”Jeffrey Archer”]

Extract In Reader Pane

[extract title=”Mightier Than The Sword” author=”Jeffrey Archer” viewer = true]

Jacket Image With Lightbox Extract

[extract title=”Mightier Than The Sword” author=”Jeffrey Archer” lightbox=true images=true]

Text Link with Lightbox Extract

[extract title=”Mightier Than The Sword” author=”Jeffrey Archer” lightbox=true linktext=”Click here to read an extract”]

List of Books By Author With Link

[extract author=”Jeffrey Archer”]

List of Books By Author With Lightbox Extract

[extract author=”Jeffrey Archer” lightbox = true]

List of Books by Author With Jackets and Link

[extract author=”Jeffrey Archer” images=true]

List of Books By Author With Jackets and Lightbox Extract

[extract author=”Jeffrey Archer” images=true lightbox=true]

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Pan Macmillan Book Extracts〉的開發相關工作。

參與者

將〈Pan Macmillan Book Extracts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.03

  • Added ability to use a text link to open a lightbox with the extract
  • Updated the jacket image with lightbox option to require images=true

1.02

  • Fix for changed image URL

1.01

  • Added pagination support

1.0

  • Initial Release