Many learners want to collect book from Google books. So you can embed Google books in your posts using shortcode in your WordPress site very easily. Especially some clients give task to their web developer to display Book from Google book. You can display this Google book by using WordPress plugin. But some clients want to avoid using plugin. Here we will use some PHP codes in our functions.php file which will let you use shortcode to embed Google books in your WordPress post content.
Please add the following codes below in your themes
Embed Google books in your posts using shortcode
Now we will add the below shortcode with our content where Google books will be displayed.
[gbooks id="1234521452" width="400" height="400"]
Here our Google book
This Google Books Id you will find from Google books ISBN.
Learn more about WordPress Shortcode