WooCommerce product shortcode
If you are using WooCommerce plugin you can create affiliate products using your Amazon affiliate links and then use the
[product] shortcode to link them in your blog posts.
WooCommerce product page shortcode
Alternatively use the Chap theme’s custom AMP-compatible
[wcproductpage] shortcode to link them in your blog posts. This will show all the information you have added for this product as well as reviews and related products. It’s suitable for bigger and more expensive products that your whole blog post focuses on.
Woo Album #1
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
[wcproductpage id="83" tabs="false"]
See: [wcproductpage] shortcode documentation
If you do not wish to install WooCommerce on your WordPress site but still would like to link to affiliate products with the similar “card”-like look, then you can use the
[card] shortcode that comes with Chap.
Short description for the Amazon product you’re linking to.
Buy from Amazon
[card] [cardheader center aligned]Amazon product[/cardheader] [cardimage src="//placehold.co/300x160"] [cardtext]Short description for the Amazon product you’re linking to.[/cardtext] [cardheader]€59.99[/cardheader] [button large positive marginless right labeled icon url="https://amazon.com" icon="external"]Buy from Amazon[/button] [/card]