Instructions for use
-
Shortcode
The following shortcode command can be inserted into any page, post or widget:[show-qr-code]displays a tree at the shortcode position. Optional arguments can be included to influence the behaviour of the QR code using[show-qr-code arg1="value1" arg2="value2" ...]Usage
The following arguments can be used in the shortcode or as POST/GET arguments:[qrdata=""]The data to encode. The defult is to use the current page or post URL.[file=null]The filename and path to create a media file.[ecc="H"]The error coding:
- QR Code ECC LEVEL L : 7% of the data can be restored.
- QR Code ECC LEVEL M : 15% of the data can be restored.
- QR Code ECC LEVEL Q : 25% of the data can be restored.
- QR Code ECC LEVEL H : 30% of the data can be restored.
[pixel_size="2"][frame_size="5"]Word Press Developers
The QR code can be called using the classWlfC_QRCode. The following are available methods and arguments:- All of the arguments in the Usage section are available e.g.
[show-qr-code qrdata="xxx"]is called as$class->qrdata=""; - Method
Build_QRCode()returns the QR code as an HTML IMG tag
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Instructions for use’ is closed to new replies.