- SEO TOOLS
- Webmaster Tools
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 functions.php file
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
id="1234521452" This Google Books Id you will find from .
Learn more about WordPress Shortcode