{"id":73653,"date":"2017-09-01T15:40:39","date_gmt":"2017-09-01T15:40:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/kaya-qr-code-generator\/"},"modified":"2026-09-21T09:01:04","modified_gmt":"2026-09-21T09:01:04","slug":"kaya-qr-code-generator","status":"publish","type":"plugin","link":"https:\/\/skr.wordpress.org\/plugins\/kaya-qr-code-generator\/","author":15587617,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.7.0","stable_tag":"1.7.0","tested":"7.1.2","requires":"5.0.0","requires_php":"5.4","requires_plugins":null,"header_name":"Kaya QR Code Generator","header_author":"Kaya Studio","header_description":"Generate QR Code through Widget and Shortcode, without Google API dependencies.","assets_banners_color":"e0dad3","last_updated":"2026-09-21 09:01:04","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/dotkaya.org\/a-propos\/","header_plugin_uri":"","header_author_uri":"https:\/\/kayastudio.fr","rating":4.4,"author_block_rating":0,"active_installs":10000,"downloads":151559,"num_ratings":38,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.4.2":{"tag":"1.4.2","author":"kayastudio","date":"2023-02-07 15:14:34","revision":2861559},"1.5.0":{"tag":"1.5.0","author":"kayastudio","date":"2023-02-07 15:14:34","revision":2861559},"1.5.1":{"tag":"1.5.1","author":"kayastudio","date":"2023-02-08 00:04:47","revision":2861765},"1.5.2":{"tag":"1.5.2","author":"kayastudio","date":"2023-03-20 15:04:29","revision":2883637},"1.5.3":{"tag":"1.5.3","author":"kayastudio","date":"2023-11-06 13:45:03","revision":2989948},"1.6.0":{"tag":"1.6.0","author":"kayastudio","date":"2026-05-17 14:18:58","revision":3534609},"1.7.0":{"tag":"1.7.0","author":"kayastudio","date":"2026-09-21 09:01:04","revision":3705216}},"upgrade_notice":[],"ratings":{"1":3,"2":1,"3":2,"4":2,"5":30},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3705216,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3705216,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3705216,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3705216,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"kaya-qrcode-generator\/qrcode":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"kaya-qrcode-generator\/qrcode","version":"1.0.0","title":"Kaya QR Code","category":"widgets","description":"Add a QR Code to your content.","keywords":["kaya","qr","qrcode","code"],"textdomain":"kaya-qr-code-generator","editorScript":"file:.\/index.js","viewScript":"file:.\/view.js","render":"file:.\/render.php"}},"tagged_versions":["1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3705216,"resolution":"1","location":"assets","locale":"","width":2000,"height":5956},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3705216,"resolution":"2","location":"assets","locale":"","width":2000,"height":1594},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3705216,"resolution":"3","location":"assets","locale":"","width":2000,"height":2895},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3705216,"resolution":"4","location":"assets","locale":"","width":2000,"height":790}},"screenshots":{"1":"Kaya QR Code Generator: Shortcode generator.","2":"Kaya QR Code Generator: Gutenberg block.","3":"Kaya QR Code Generator: Settings page.","4":"Kaya QR Code Generator: Custom QR code display examples."}},"plugin_section":[],"plugin_tags":[7312,1373,7937,7936,80],"plugin_category":[],"plugin_contributors":[144731],"plugin_business_model":[],"class_list":["post-73653","plugin","type-plugin","status-publish","hentry","plugin_tags-qr","plugin_tags-qr-code","plugin_tags-qr-code-generator","plugin_tags-qrcode","plugin_tags-shortcode","plugin_contributors-kayastudio","plugin_committers-kayastudio"],"banners":{"banner":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/banner-772x250.png?rev=3705216","banner_2x":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/banner-1544x500.png?rev=3705216","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/icon-128x128.png?rev=3705216","icon_2x":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/icon-256x256.png?rev=3705216","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/screenshot-1.png?rev=3705216","caption":"Kaya QR Code Generator: Shortcode generator."},{"src":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/screenshot-2.png?rev=3705216","caption":"Kaya QR Code Generator: Gutenberg block."},{"src":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/screenshot-3.png?rev=3705216","caption":"Kaya QR Code Generator: Settings page."},{"src":"https:\/\/ps.w.org\/kaya-qr-code-generator\/assets\/screenshot-4.png?rev=3705216","caption":"Kaya QR Code Generator: Custom QR code display examples."}],"raw_content":"<!--section=description-->\n<p><strong>Kaya QR Code Generator<\/strong> lets you create and display QR codes in your WordPress content using shortcodes, the built-in Gutenberg block or widget.<\/p>\n\n<p>No external service, API or third-party dependency is required. The QR code generation library is included with the plugin.<\/p>\n\n<p>You can encode any text, URL or other content, including Bitcoin addresses or the URL of the current page.<\/p>\n\n<p>The QR code can be customized with different options such as size, error correction level, colors, alignment, title, alternative text, clickable links and a download button.<\/p>\n\n<h4>Three ways to add a QR code<\/h4>\n\n<ul>\n<li><strong>Shortcode<\/strong> - Add a QR code using the <code>[kaya_qrcode]<\/code> shortcode or the dynamic <code>[kaya_qrcode_dynamic]<\/code> shortcode.<\/li>\n<li><strong>Gutenberg block<\/strong> - Add and configure a QR code directly in the WordPress block editor.<\/li>\n<li><strong>Widget<\/strong> - Add a QR code to a widget area using the built-in widget.<\/li>\n<\/ul>\n\n<h4>Shortcode generator<\/h4>\n\n<p>The built-in Shortcode generator helps you create a shortcode without having to remember or enter its options manually.<\/p>\n\n<p>The generator provides a live QR code preview and generated shortcode that can be copied and inserted into your content.<\/p>\n\n<p>It is available:<\/p>\n\n<ul>\n<li>On the plugin settings page.<\/li>\n<li>In the editor meta box for supported post types.<\/li>\n<\/ul>\n\n<p>The generator can also be configured to be displayed collapsed by default in the editor, showing only the generated shortcode and QR code preview until the full generator is opened.<\/p>\n\n<h4>QR code features<\/h4>\n\n<ul>\n<li>Add an optional title and choose its heading level and horizontal alignment.<\/li>\n<li>Encode static or dynamic content.<\/li>\n<li>Automatically use the current page URL when no content is specified.<\/li>\n<li>Add a query string to the automatic current page URL.<\/li>\n<li>Add an anchor to the automatic current page URL.<\/li>\n<li>Select the error correction level.<\/li>\n<li>Set the QR code image size.<\/li>\n<li>Set the QR code border width.<\/li>\n<li>Customize the QR code and background colors.<\/li>\n<li>Align the QR code image horizontally.<\/li>\n<li>Add a shadow to the QR code image.<\/li>\n<li>Disable the default plugin styles.<\/li>\n<li>Set custom alternative text for the QR code image.<\/li>\n<li>Add a clickable link to the QR code image.<\/li>\n<li>Support non-standard URL schemes for clickable links.<\/li>\n<li>Open clickable links in a new browser tab.<\/li>\n<li>Add a download button with custom text and alignment.<\/li>\n<\/ul>\n\n<h4>Error correction levels<\/h4>\n\n<p>The QR code supports four error correction levels:<\/p>\n\n<ul>\n<li><strong>Low<\/strong> - Approximately 7% of the codewords can be restored.<\/li>\n<li><strong>Medium<\/strong> - Approximately 15% of the codewords can be restored.<\/li>\n<li><strong>Quartile<\/strong> - Approximately 25% of the codewords can be restored.<\/li>\n<li><strong>High<\/strong> - Approximately 30% of the codewords can be restored.<\/li>\n<\/ul>\n\n<p>Higher error correction levels make the QR code more resistant to damage or obstruction, but require more space within the QR code.<\/p>\n\n<h4>Dynamic content<\/h4>\n\n<p>Dynamic content allows the QR code content to be generated by another WordPress shortcode.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code>[kaya_qrcode_dynamic][example_shortcode][\/kaya_qrcode_dynamic]\n<\/code><\/pre>\n\n<p>The shortcode contained between the opening and closing tags is processed before the QR code is generated.<\/p>\n\n<h4>Settings<\/h4>\n\n<p>The plugin settings allow you to configure:<\/p>\n\n<ul>\n<li>Which user roles can access the Shortcode generator.<\/li>\n<li>Which post types display the Shortcode generator.<\/li>\n<li>Whether the generator is collapsed by default in the editor.<\/li>\n<li>The meta box location and priority in the editor.<\/li>\n<li>The default QR code color.<\/li>\n<li>The default background color.<\/li>\n<\/ul>\n\n<p>The plugin is compatible with WordPress Multisite and WooCommerce.<\/p>\n\n<h4>Basic shortcode examples<\/h4>\n\n<p>Static content:<\/p>\n\n<pre><code>[kaya_qrcode content=\"https:\/\/example.com\"]\n<\/code><\/pre>\n\n<p>If no content is specified, the URL of the current page is used automatically:<\/p>\n\n<pre><code>[kaya_qrcode]\n<\/code><\/pre>\n\n<p>Dynamic content:<\/p>\n\n<pre><code>[kaya_qrcode_dynamic][example_shortcode][\/kaya_qrcode_dynamic]\n<\/code><\/pre>\n\n<p>Additional options can be added to either shortcode.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>Kaya QR Code Generator does not collect or send personal user data to the plugin author or any third-party service.<\/p>\n\n<p>The plugin does not set cookies and does not connect to external services.<\/p>\n\n<p>QR codes are generated from the content and settings provided by the user.<\/p>\n\n<h4>Available Languages<\/h4>\n\n<ul>\n<li>English.<\/li>\n<li>French.<\/li>\n<\/ul>\n\n<h4>Feedback<\/h4>\n\n<p>Suggestions and feedback are welcome.<\/p>\n\n<p>If you use Kaya QR Code Generator, please consider sharing your experience and rating the plugin. Your feedback helps improve the plugin and makes it easier for other users to discover it.<\/p>\n\n<!--section=installation-->\n<p>The quickest way:<\/p>\n\n<ol>\n<li>Go to <strong>Plugins &gt; Add New<\/strong> in WordPress.<\/li>\n<li>Search for <strong>Kaya QR Code Generator<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong> and then <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<p>The other way:<\/p>\n\n<ol>\n<li>Upload the <code>kaya-qr-code-generator<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20can%20i%20add%20a%20qr%20code%20to%20my%20content%3F\"><h3>How can I add a QR code to my content?<\/h3><\/dt>\n<dd><p>There are three ways to add a QR code:<\/p>\n\n<ul>\n<li>Use the <code>[kaya_qrcode]<\/code> shortcode.<\/li>\n<li>Add the Kaya QR Code block in the Gutenberg editor.<\/li>\n<li>Use the Kaya QR Code widget in a widget area.<\/li>\n<\/ul>\n\n<p>You can also use the Shortcode generator to create a shortcode with your preferred options.<\/p><\/dd>\n<dt id=\"how%20do%20i%20use%20the%20shortcode%20generator%3F\"><h3>How do I use the Shortcode generator?<\/h3><\/dt>\n<dd><p>The Shortcode generator lets you configure the QR code options and automatically generates the corresponding shortcode.<\/p>\n\n<p>It also provides a QR code preview and a button to copy the generated shortcode.<\/p>\n\n<p>In the editor, the generator can be displayed fully or collapsed by default. When collapsed, only the generated shortcode and QR code preview are displayed until the generator is opened.<\/p><\/dd>\n<dt id=\"why%20are%20my%20changes%20in%20the%20editor%20not%20saved%20with%20the%20post%3F\"><h3>Why are my changes in the editor not saved with the post?<\/h3><\/dt>\n<dd><p>The Shortcode generator fields are used to build a shortcode. They are not custom fields for the post and do not modify or save anything in the post content.<\/p>\n\n<p>After configuring the QR code, copy the generated shortcode and insert it into a Shortcode block or directly into your content.<\/p>\n\n<p>If you want to configure and insert a QR code directly in the Gutenberg editor, you can use the Kaya QR Code block instead.<\/p><\/dd>\n<dt id=\"how%20can%20i%20use%20dynamic%20content%3F\"><h3>How can I use dynamic content?<\/h3><\/dt>\n<dd><p>Dynamic content allows you to generate the QR code content from another WordPress shortcode.<\/p>\n\n<p>For a shortcode, use:<\/p>\n\n<pre><code>[kaya_qrcode_dynamic][example_shortcode][\/kaya_qrcode_dynamic]\n<\/code><\/pre>\n\n<p>The shortcode between the opening and closing tags is processed before the QR code is generated.<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20current%20page%20url%20automatically%3F\"><h3>Can I use the current page URL automatically?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>Use:<\/p>\n\n<pre><code>[kaya_qrcode]\n<\/code><\/pre>\n\n<p>When no content is specified, the URL of the current page is used automatically.<\/p>\n\n<p>You can also add a query string or an anchor to the current page URL.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20qr%20code%20appearance%3F\"><h3>Can I customize the QR code appearance?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>You can customize the QR code size, border width, error correction level, colors, background color and alignment.<\/p>\n\n<p>You can also add a title, shadow, alternative text, clickable link and download button.<\/p><\/dd>\n<dt id=\"can%20i%20make%20the%20qr%20code%20clickable%3F\"><h3>Can I make the QR code clickable?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>You can specify a destination URL for the QR code image or use the QR code content as the link.<\/p>\n\n<p>The link can also be configured to open in a new browser tab.<\/p>\n\n<p>Non-standard URL schemes are supported.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20transparent%20background%3F\"><h3>Can I use a transparent background?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>The background color supports transparency. You can use an 8-digit hexadecimal color value such as <code>#FFFFFF00<\/code> for a fully transparent background.<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20generated%20qr%20code%20outside%20wordpress%3F\"><h3>Can I use the generated QR code outside WordPress?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>The QR code image generated by the plugin can be downloaded and then used wherever you need it.<\/p>\n\n<p>However, the shortcode itself is intended to be used in WordPress content and cannot be used directly in a PDF or email.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20use%20an%20external%20qr%20code%20service%3F\"><h3>Does the plugin use an external QR code service?<\/h3><\/dt>\n<dd><p>No.<\/p>\n\n<p>The QR code generation library is included with the plugin (based on qr.js written by Kang Seonghoon). No external API, service or third-party application is required to generate the QR code.<\/p><\/dd>\n<dt id=\"is%20my%20data%20sent%20to%20a%20third-party%20service%3F\"><h3>Is my data sent to a third-party service?<\/h3><\/dt>\n<dd><p>No.<\/p>\n\n<p>The plugin does not connect to third-party services or applications to generate QR codes. The QR code is generated from the content provided to the plugin.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20woocommerce%3F\"><h3>Is the plugin compatible with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>The Shortcode generator can be made available for WooCommerce products, and QR codes can be used in WooCommerce content like other WordPress content.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20wordpress%20multisite%3F\"><h3>Is the plugin compatible with WordPress Multisite?<\/h3><\/dt>\n<dd><p>Yes.<\/p>\n\n<p>Kaya QR Code Generator supports WordPress Multisite.<\/p><\/dd>\n<dt id=\"how%20can%20i%20support%20the%20development%20of%20the%20plugin%3F\"><h3>How can I support the development of the plugin?<\/h3><\/dt>\n<dd><p>Kaya QR Code Generator is free to use and is developed by Kaya Studio.<\/p>\n\n<p>You can support the development by leaving a review, sharing the plugin or making a donation.<\/p>\n\n<p>More information about donations is available here: https:\/\/dotkaya.org\/a-propos\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Added: Built-in Gutenberg block for adding and configuring QR codes directly in the block editor.<\/li>\n<li>Added: QR code preview in the Gutenberg block.<\/li>\n<li>Added: Generated shortcode copy button.<\/li>\n<li>Improved: Plugin administration interface and user experience.<\/li>\n<li>Improved: Settings and Shortcode generator interface.<\/li>\n<li>Improved: Settings and generator descriptions.<\/li>\n<li>Improved: Documentation and user interface consistency.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Fixed: Proper query string added to the automatic current page URL if parameters are already present.<\/li>\n<li>Added: Option to remove the default plugin styles from the QR code image.<\/li>\n<li>Added: Option to select the QR code border width.<\/li>\n<li>Added: Option to display a download button on the frontend with custom text and alignment.<\/li>\n<li>Added: Settings to select the meta box context and priority in the editor.<\/li>\n<li>Added: Settings to select the default QR code image color and background color.<\/li>\n<\/ul>\n\n<p>To read the changelog of earlier versions of Kaya QR Code Generator, please see the <code>changelog.txt<\/code> file.<\/p>","raw_excerpt":"Generate QR codes using shortcodes, the Gutenberg block or widget, with no third-party services or dependencies.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/73653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=73653"}],"author":[{"embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kayastudio"}],"wp:attachment":[{"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=73653"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=73653"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=73653"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=73653"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=73653"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/skr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=73653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}