The new Gutenberg editor in WordPress makes it really easy to share Amazon links.
Since the release of WordPress 5.2 in May 2019, you can find an “Amazon Kindle” block. When you're writing a post in WordPress, click the “Add block” button and you can search for “Amazon Kindle”:
This feature currently works for any Amazon book that has a product version.
- Go to your local Amazon site, and take the URL of a book.
- Paste the book URL into the embed box, as you can see in the image below. I've taken the URL for the WordPress Explained book.
WordPress will show you the book preview while you're still writing the post.
When you publish this post, you'll be able to use three features on the bottom:
- Buy on Amazon
- Free Preview
If you click “Buy on Amazon”, you'll automatically be taken to Amazon where you can purchase the book.
If you click “Share”, you'll be able to send a link to the book on Amazon via email, Facebook, or Twitter.
If you click “Free Preview” or click on the book title, you will be able to start reading the free “Look Inside” portion of the book.
It's worth nothing that this feature only works for Amazon books with a Kindle version.
You won't be able used this approach to embed chairs, shoes, or other products sold on Amazon.
However, this approach to Amazon Kindle books does work for a wide range of Amazon sites including these:
Gutenberg really is a big step forward for WordPress. We've moved over all our sites to the new editor and rely on extra features from the PublishPress Blocks plugin.