Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

My Google Books Library

Beskrivning

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.

Skärmdumpar

Installation

  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.

Vanliga frågor

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.

Recensioner

24 maj 2017
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.
Läs alla 4 betyg

Bidragsgivare och utvecklare

”My Google Books Library” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”My Google Books Library” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.