A QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The “QR” is derived from “Quick Response”, as the creator intended the code to allow its contents to be decoded at high speed. QR Codes are common in most mobile phones that can read this code with their camera.
Excerpt from Wikipedia Article
The “Super Cool QRCode” use the Google Chart API to generate on-the-fly QR codes for your blog. You can encode any type of strings that can be readed in a large array of devices.
Features
You can create QR codes with:
- A Widget
- A Shortcode
- A PHP Function
Download
Instalattion
- Upload super-cool-qrcode.X.X.X.zip through WordPress interface or install it directly from the plugin area
- Activate it through the ‘Plugins’ menu
- Visit the settings page in the admin area at Settings > S. Cool QR Code and configure it
Changelog
- 0.0.7
- Completiey rewritten
- Multi-widget support
- Much more stable
- 0.0.6
- Minor code erros fixed
- 0.0.5
- PHP error fixed
- 0.0.4
- Some links error fixed
- 0.0.2
- First public release
Screenshots
Usefull Links
- ZXing Decoder Online: here you can test your QR codes
Observation
I’m no professional programmer, this plugin is mantained in the little spare time that I have between work and university and neither is english my native language so ANY suggestion for the plugin coding or text will be appreciated.

A great free way to get a multi-layered QR code is at http://www.SuperQR.com. The free site lets you have all of your contact info, (including Facebook, Linkedin, Google+, etc…) placed into one “Super” QR code. Here is my page…when you flip the card over you can see videos, photos, whatever links you want to add. http://www.superqr.com/mobile/4 Already being used in 18 countries throughout the world
Thanks for your great plugin!
However, I was wondering if anyone could help me with the borders of the generated QR codes. They are not appearing consistent in some pages.
I am not a php developer but I was hoping you or someone could point me in the right direction. How do I configure the default border for all qr codes?
Thanks in advance!
I tried sending you an email, based on what is linked to in your plugin, but it bounced, so maybe you’ll see this instead.
In your PHP file, I noticed that you are using “get_permalink()” for the URL of the QR Code. Rather, if you use “wp_get_shortlink()” for the URL, then there will be less metadata in the QR Code image, which will result in faster scans by most readers.
Compare http://pthree.org/2011/07/22/openssh-best-practice/ to http://pthree.org/?p=1930, for example.
Just a thought.
yeah, i plan doing this, i just need time from work :D
Dear Developers,
I wonder why your QR code show only one image for difference link in my blog.
Could you explain me to know more about this plugin?
Regard,
Bondeth
Hi,
thanks for your plugin. A little tip for you: You can call the Google API also with https, so in some cases the user should choose, if he/she would use the http or https call.
The QR code data is encoded in the URL of the Google API, so if I take a look to the HTML code I can extract the data of the QR matrix. In some cases it would be nice, that the data are not shown in the HTML code, so on the WP rendering process you can hide the data in a session or something else, so only a PHP script within your plugin calls the API and returns the image output.
You can do this like this call:
$qrcode = file_get_contents( “link to Google API” );
header(“Content-type: image/png”);
echo $qrcode;
hey! it’s a pretty good idea, i’m super busy with the end of the semester, but as soon as i have sometime I will work on it.
You should reintegrate the straight php call option, not everyone uses widgets in their menu designs.
good idea, will do when i have some time :)
Hi! Thank you very much for your super cool (!) qr code plugin! Really like it!
I modified the code on my wordpress 3.1 installation. Maybe you can add this into your code and add an option to activate it.
To reduce the density of single post codes, I use the shortlink and modified the functionn “scqrcode_url” like that:
function scqrcode_url() {
global $post;
$shortlink = wp_get_shortlink( $post->ID );
return is_single() ? (($shortlink) ? $shortlink : get_permalink()) : get_settings(‘siteurl’);
}
thats a great ideia! have already added on the to-do for the next version.
I install the plugin and when I went to settings this is the error I got.. “You do not have sufficient permissions to access this page.” Anybody know why?
I am trying to activate another plugin and am getting the following error:
Warning: Cannot modify header information – headers already sent by (output started at …../html/wp-content/plugins/super-cool-qrcode/super-cool-qrcodes.php:1) in …………./html/wp-includes/pluggable.php on line 890
below is the code from line 862-890 in pluggable.php
if ( !function_exists(‘wp_redirect’) ) :
/**
* Redirects to another page, with a workaround for the IIS Set-Cookie bug.
*
* @link http://support.microsoft.com/kb/q176113/
* @since 1.5.1
* @uses apply_filters() Calls ‘wp_redirect’ hook on $location and $status.
*
* @param string $location The path to redirect to
* @param int $status Status code to use
* @return bool False if $location is not set
*/
function wp_redirect($location, $status = 302) {
global $is_IIS;
$location = apply_filters(‘wp_redirect’, $location, $status);
$status = apply_filters(‘wp_redirect_status’, $status, $location);
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;
$location = wp_sanitize_redirect($location);
if ( $is_IIS ) {
header(“Refresh: 0;url=$location”);
} else {
if ( php_sapi_name() != ‘cgi-fcgi’ )
status_header($status); // This causes problems on IIS and some FastCGI setups
header(“Location: $location”, true, $status);
}
}
endif;
Any ideas on how to solve this issue –the qr code plugin is deactivated and I can not delete without getting the same error above?
Thanx for the plugin.
How to change the QRCode white background to black?
Thanks.
Plugin is working well; thanks for your efforts, but I get tons of header errors when logging out of Admin in WP:
Warning: Cannot modify header information – headers already sent by (output started at /home/chadeby/public_html/courses/wp-content/plugins/super-cool-qrcode/super-cool-qrcodes.php:1) in /home/chadeby/public_html/courses/wp-login.php on line 290
[ . . . ]
Warning: Cannot modify header information – headers already sent by (output started at /home/chadeby/public_html/courses/wp-content/plugins/super-cool-qrcode/super-cool-qrcodes.php:1) in /home/chadeby/public_html/courses/wp-includes/pluggable.php on line 865
I want to use the plugin, but It’s a little worrisome…
If enabled, the WP-Stats flash graph is not visible. If disabled, the stats graph is visible. Thes affects dashboard as well as stats page.
I have two categories, one is called “heisefizierung”, and one is called “blabla”, i set size to 170, encoding to UTF-8 and Error correction to H. Margin is 1, link is “false”, target is “_blank” and “border” is 0.
Why does the QR code of “blabla” fill the whole QR code image in this category, and why is there a big white border around the QR code while viewing category “heisefizierung”?
I noticed that on some of my other categories too, that the QR code is sometimes in other sizes (the QR code image itself is always the same size, only the size of the QR code itself changes).
I am trying to get the online decoder zxing.org/w/decode.jspx to work but for some reasons it tries to download some ‘decode’ info.
I actually get a download screen. Only I can’t open it.
It gives me the options Search, Save, Cancel..
Is there some option I have got to enable or disable ?
@shigeru
thanks for the reply, this plugin is in “alpha”stage, but this weekend i will work a little on it. will see what i can do :D
I tried to use on Japanese WordPress 2.7.1 and am getting repeated PHP header error upon HTTP FORM submission in Admin interface. Could you take a look? I tried to use your latest 0.0.6.
Works great, thank you