Sale!

WordPress QR Code Generator

Original price was: $8,00.Current price is: $3,99.

WordPress QR Code Generator | Create Instant QR Code

Category:

Key Features

  • Instant QR Generation: Converts any standard URL into a high-resolution QR code instantly via client-side JavaScript.

  • Direct Image Download: Features an integrated download action so visitors can save the generated PNG file with a single click.

  • Modern Soft Purple Design: Comes pre-styled with a clean lavender/soft purple palette, soft background gradients, and smooth hover effects.

  • Fully Responsive: Automatically adapts to desktop, tablet, and mobile layouts with fluid typography and form fields.

  • Error & Form Validation: Built-in URL verification ensures users input full protocols (e.g., https://) before processing.


Ideal For

  • Marketing & Business Websites: Quickly sharing landing pages, promotional offers, or social links.

  • Events & Portfolios: Allowing visitors to save event links, digital vCards, or project URLs to their smartphones.

  • E-Commerce Stores: Directing buyers to specific product lines or checkout pages via printable codes.


Key Benefits

  • Lightweight & Fast: Enqueues assets inline only when needed, avoiding site bloat or slow page loading times.

  • Zero External Dependencies: Works seamlessly out of the box using core WordPress shortcode hooks and native JavaScript.

  • Translation-Ready Structure: Built with clear string arrays so you can easily adapt text for localized audiences.


Installation Guide

You can set up this snippet in a few simple steps:

Method 1: Using the Code Snippets Plugin (Recommended)

  1. Install and activate the free Code Snippets plugin from the WordPress repository.

  2. Go to Snippets → Add New in your WordPress dashboard.

  3. Paste the provided PHP code into the code editor.

  4. Replace const qrUrl = 'YOUR_URL_API_QR_CODE_GENERATOR_HERE'; with your preferred QR code generator API URL.
  5. Set the code type to PHP Snippet.

  6. Click Save Changes and Activate.

Method 2: Via Theme functions.php

  1. Go to Appearance → Theme File Editor (or access your server via FTP/cPanel).

  2. Open your active child theme’s functions.php file.

  3. Paste the PHP code at the end of the file.

  4. Replace const qrUrl = 'YOUR_URL_API_QR_CODE_GENERATOR_HERE'; with your preferred QR code generator API URL.
  5. Save the file.

How to Display the Tool on Your Site:

Add the following shortcode to any Page, Post, or Custom Post Type:

Plaintext :[qr_generator]

Compatibility

  • WordPress Version: 5.0 or higher

  • PHP Version: 7.4 or higher (fully compatible with PHP 8.x)

  • Browsers: Chrome, Safari, Firefox, Edge, and modern mobile browsers


What You Will Get

  • Complete PHP snippet containing HTML structural markup, CSS inline styling, and JS functional scripts.

  • Ready-to-use [qr_generator] shortcode for pages, posts, or sidebars.

  • Built-in i18n structure configured in English.


FAQ (Frequently Asked Questions)

  • Q: How do I display the QR Code Generator on a page?

    • A: Add a Shortcode Block in the Gutenberg editor (or your page builder) and insert [qr_generator].

  • Q: Where are the generated QR codes hosted?

    • A: Codes are generated dynamically on the fly via standard HTTP API requests and rendered directly on the browser preview.

  • Q: Can I customize the primary purple color?

    • A: Yes. Edit the --qrg-purple and --qrg-purple-dark variables in the CSS section of the code snippet.


Disclaimers & Notes

  • Active Child Theme: If modifying functions.php directly, always use a child theme so changes aren’t overwritten during main theme updates.

  • Protocol Requirement: Users must enter full URLs starting with http:// or https:// to generate a valid code.


Preview

 

 

Reviews

There are no reviews yet.

Be the first to review “WordPress QR Code Generator”

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

Shopping Cart
Wordpress QR Code GeneratorWordPress QR Code Generator
Original price was: $8,00.Current price is: $3,99.