自動で記事のQRコードを生成する

Ads

Code

<img src="http://api.qrserver.com/v1/create-qr-code/?size=100x100&amp;data=<?php the_permalink(); ?>" alt="<?php the_title(); ?>"/>
view raw gistfile1.aw hosted with ❤ by GitHub

Note

Description single.php等に含める。タイトルとURLをGoogle APIで取得し、QRコード化。
WordPress Ver. 3.3.1
Via URLやサイズを指定出来るQRコードをショートコードで作れるようにする