• Plugin Author Jrack Wolfe

    (@jrackwolfe)


    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 class WlfC_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)
  • Plugin Author Jrack Wolfe

    (@jrackwolfe)

    Version 0.1.1 – new argument added so that default URL includes arguments. If this is not needed then the following can be set to false and the calling url (any url – not just the permalink) without args will be used:

    • [uri="true"]
    • This reply was modified 3 years, 8 months ago by Jrack Wolfe.
Viewing 1 replies (of 1 total)

The topic ‘Instructions for use’ is closed to new replies.