QR Codes for WordPress and TheCartPress
QR Codes for WordPress and TheCartPress allows to display QR Codes associated to a Product, or a Post.
“QR Codes” provides a shortcode and a template function to add these codes where you need.
Shortcodes:
To use in pages, post or products.
[ tcp_qr_generator ] | Displays the QR Code of the current page, post, or product. This shortcode generates an image of 300×300 pixeles |
[ tcp_qr_generator url=’..’ title=” width=” height=” ] | Displays the QR Code of the given url, using a title, a width and a height. By default, width and height are 300 pixeles |
Template function:
To use in themes.
<?php tcp_qr_generator(); ?> | Displays the QR Code of the current page, post, or product. This function generates an image of 300×300 pixeles |
<?php tcp_qr_generator( $url, $title, $width, $height ); ?> | Displays the QR Code of the given url, using a title, a width and a height. By default, width and height are 300 pixeles |