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

My Google Books Library

外掛說明

IMPORTANT: I have stopped development of this plugin, as my knowledge is too limited to fix the bugs that some users experience. Anyone who would like to take over the development can contact me in this regard. For an alternative plugin that does basically the same thing see: Google Bookshelves, I cannot however guarentee that, that plugin will be without bugs.

This is a simple wordpress plugin that allows you to showcase your Google Books bookshelves. It uses the Google Books API, and can show any of the default shelves: Reading Now, Favorites, Have Read or To Read as well as custom shelves. You can also choose the maximum number of books that you want to display.

I used some of the code from ZeroCool51’s (Bostjan Cigan) plugin Currently Reading Book for the admin area and aharris88‘s plugin Google Bookshelves for the widget. Special thanks to Vadym for his code to fix the max 40 books problem.

What this plugin offers:

  • Widget for showing any number of book covers from any of your shelves.
  • Use shortcode to show a list of your books from any google books shelves including custom shelves in any post or page.
  • Php function that can be put into any template file
  • Two different templates for displaying the books. List view with cover, title, author and description OR Grid view with only the covers.

This is my first plugin and any feedback would be appreciated.

Author

The author of this plugin is Hugo Minnaar, visit the homepage.

Homepage

Visit the homepage of the plugin.

螢幕擷圖

安裝方式

  1. Upload the plugin directory to to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enter your Google Books id on the settings page (instructions on settings page).
  4. Place <?php my_google_books_library(); ?> in your templates
  5. and/or add the widget ‘My Google Books Library Widget’ to the theme you are currently using
  6. and/or place the schortcode e.g. [my_google_books_library shelf=”4″ max=”10″ layout=”2″] on any post or page.

常見問題集

Where do I get my Google Books ID?

See the instructions on the plugin’s settings page which can be found under the settings tab in your Dash.

More questions?

The plugin’s settings page aims to explain everything if not contact me at one of the provided links.

Can you add this can you do that?

I’m a full time Investment Management student and have limited time and knowledge. I will however try my best to make this plugin as usable as possible.

More requests?

Consider making a donation to keep me motivated.

使用者評論

2017 年 5 月 24 日
Another Google Books module or in this case a plug-in is a good thing. I’ll need to look at the code and see if there is any crossover of code I can use.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈My Google Books Library〉的開發相關工作。

參與者

將〈My Google Books Library〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.2

  • Fixed: Overcame issue with Google API that only allows for max of 40 books to be retrieved. Thank you Vadym for the code.

1.1

  • Added: New layout template: Grid view. Add layout=”2″ in your shortcode to make use of the new layout. E.g. [my_google_books_library shelf=”4″ max=”10″ layout=”2″]
  • Added: Radomization – random books from your selected shelf will be shown with every refresh.

1.0.1

  • Fixed: Bug where shortcode appeared on top of page instead of where it was placed.

1.0

  • The initial version of the plugin.