A QR code generator for WordPress
No pluginOne Custom HTML block
You can put a working QR code generator on a WordPress site without installing a plugin. One line in a Custom HTML block does it, on any theme, on WordPress.com business plans and on self-hosted WordPress alike.
Paste this into a Custom HTML block
<script async src="https://qrflow.codes/embed.js"></script>The three steps
- 1Open the page or post and add a blockPress the plus button where you want the generator, then search for Custom HTML. It is a core block, so it is there on every install.
- 2Paste the lineOne script tag, nothing else. The block editor shows it as plain text; that is expected.
- 3Press UpdateReload the published page. The generator renders in place. In the editor you can press Preview on the block to see it without publishing.
Other places it can go
- A sidebar or footer: Appearance, then Widgets, then a Custom HTML widget.
- Every page at once: a theme's header or footer scripts setting, if yours has one. Put it in a block instead unless you genuinely want it site-wide.
- The classic editor: switch from Visual to Text and paste the line there.
Questions people ask
- Why not use a plugin?
- A plugin is another thing to update, another thing that can break on a WordPress upgrade, and another set of database tables. This is one script tag that loads from our servers and touches nothing in your install.
- Does it work on WordPress.com?
- On plans that allow custom HTML or scripts, yes. The free and personal tiers strip script tags, which is a WordPress.com restriction rather than anything to do with the widget. Self-hosted WordPress always works.
- Will my theme break it?
- No. The widget renders inside its own boundary so your theme's styles cannot reach in and your theme cannot be affected by it either.
- Does it slow the site down?
- The tag is async, so WordPress finishes rendering your page and the widget loads after. It does not block anything above it.
- Is it really free?
- Yes. A small line crediting QRFLOW.codes sits under the generator, and that is the only condition.