This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of 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.


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


Visit the homepage of the plugin.


  • An example of how the plugin functions and works on the new twentytwelve theme.
  • Example of how the shortcode is used on a page.
  • My Google Books Library Settings page
  • My Google Books Library widgets


  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.


May 24, 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.
Read all 4 reviews

Contributors & Developers

“My Google Books Library” is open source software. The following people have contributed to this plugin.




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


  • 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.


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


  • The initial version of the plugin.