WordPress Plugin – QR Redirect

Description

QR Code Redirect lets you set up your own QR Code redirection site. The plugin creates a new custom post type called QR Redirect, which generates a QR code that points to the post’s permalink. You may then specify any URL you like for the post to redirect to. Great if you have an offsite contest, form, newsletter sign-up, etc. You can even change the URL you’re redirecting to without having to worry about updating the QR code in your advertising media.

For example, this QR code links to my website which then redirects to my Facebook profile:


Download

Version 0.2.33/12/12 ** bug fix
Version 0.2.22/3/12
Version 0.2.110/27/11
Version 0.29/28/11 ** bug fix
Version 0.19/27/11

Screenshots


Contributors: kionae
Donate link: http://nlb-creations.com/donate/
Tags: qr code, redirection
Requires at least: 3.2.0
Tested up to: 3.3.1
Stable tag: trunk


Installation

  1. Upload plugin .zip file to the /wp-content/plugins/ directory and unzip.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Add new redirects under the “QR Redirets” menu option.

Frequently Asked Questions

How can I add my QR code to a post?

Use the following shortcode:

[qr-code id="xx" size="xx"]

where id is the post ID of your QR Redirect, and size is the desired width of the image in pixels. Size is optional, and will default to 250.

If I need to change the URL I want to redirect to, do I have to update the QR Code image in all of my ads?

No. The QR Code points to a WordPress permalink on your site. The only time you would ever have to switch out an image is if you change your site’s permalink settings, and thus change the permalinks of the QR Redirect posts. Presumably this is something you won’t be doing too often, if ever.

Why do I need this?

QR Codes on their own are static. In order to update them, you have to generate a whole new image (which would suck if you were putting them on flyers or some other printed medium and suddenly needed to change them). This plugin lets you point your QR code’s embeded URL to a different web address if you need to. For example, if you are using an off-site service to host a contest, you can point a QR code at that site for the duration of the contest and later change it to point to another page with the contest winners.

How are your QR Codes generated?

Courtesy of Google Chart Tools, specifically their Infographics: http://code.google.com/apis/chart/infographics/docs/overview.html


Changelog

0.2.3

  • Fixed a bug that was causing 404 errors for some users

0.2.2

  • Added notes field for admin use
  • QR Code edit screen now auto-generates shortcode for copy/pasting

0.2.1

  • Added shortcode for displaying QR Redirect images in posts

0.2

  • Fixed a major backwards compatibility bug
  • Added some basic stat tracking

0.1

  • Initial release

Upgrade Notice

0.2.3

  • Fixed a bug that was causing 404 errors for some users

0.2.2

  • Added notes field for admin use
  • QR Code edit screen now auto-generates shortcode for copy/pasting

0.2.1

  • Added shortcode for displaying QR Redirect images in posts

0.2

  • Fixed a major backwards compatibility bug
  • Added some basic stat tracking

0.1

  • Initial release

Tags: , , ,

11 Comments to "WordPress Plugin – QR Redirect"

  1. Terence says:

    Hi,

    Thanks for sharing. Looks like it could just be exactly what I need… but!

    I can see how to create the QR code and I can set up a menu item with the redirect code in it, but how do I get the QR code image into a post?

    Terence.

  2. Hal M says:

    A nie added feature is a optional comment field for the administrator to add some NOTES about the redirect such as ADD INFO or other tidbits, hidden from the front in.

  3. Steve Young says:

    Thanks for the plugin Nikki, we have a few websites that this can be used on. I now feel I have some control that I lacked in the past.

    When it counts, what is happening? I made one and it looked like it counted that. I scanned once and the counter was up to 4 then I looked in a half hour it was up to 5.

    I had not released it to anyone yet, not sure why it would go up.

    Also you may want to consider a note. “publish will not publish a post to your site” or something like that. I worried when I pulled the trigger what was going to happen.

    Again thank you for a great solution!

  4. Karen says:

    How does one mass-add code eg_____:

    [qr-code id="xxxx" size="250"]

    to all posts at once – instead of one-by-one?

    Thankyou

    • Nikki Blight says:

      Probably the easiest way to do something like that would be to put it in your theme’s single.php template using the do_shortcode() function.

      For example:

      < ?php do_shortcode('[qr-code id="xxxx" size="250"]'); ?>

  5. malinwa001 says:

    It’s great is it is! I use i for some time on my site but could you get the picture set to another resolution by settings and ge the picture be clickable and redirect also?

    these features should make it awesome!

    • Nikki Blight says:

      You can adjust the dimensions of the image by using the size option in your shortcode (see the readme.txt file).

      Clickable codes are something I may add in a future version.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Nikki Blight – Web/PHP Developer