Skip to content

Show Codes on Your Site

Add a QR Code Block in the WordPress Block Editor

Working in the block editor and want a QR code on the page — a code for the page itself, a code you already designed, or a quick code for another link? QRify adds a QR Code block. Insert it, choose what it should show in the block settings, and the editor previews exactly what visitors will see.

What is the QRify QR Code block?

The QR Code block is a server-rendered block in the Media category that displays a QR code on a post or page. It can show a link to the current page, a saved QRify code, another URL, or plain text. It produces the same output as the [qrify] shortcode: inline SVG with no extra front-end scripts or styles.

Add the block

  1. Edit a post or page in the block editor.
  2. Click the + inserter and search for QR Code (or type /qr). The block also matches "qrcode", "barcode" and "scan".
  3. Insert it.
  4. Open the block settings sidebar. Under QR code, choose what to Show.

Choose what the code shows

Show What it encodes Design used
Link to this page (default) The permalink of the post you're editing Your default design template
A saved QRify code A code you created under QRify → All QR Codes That code's own design
Another URL The URL you enter Your default design template
Plain text The Text you enter Your default design template

Show a saved QRify code

Choose A saved QRify code, then start typing in the QR code field to search your codes by name or short link. Only active codes are listed. A saved dynamic code keeps its short link, so scans are counted in analytics.

If you later pause the code, the block shows nothing on the front end until you activate it again.

These are static codes: the content is encoded directly, nothing is stored in QRify, and scans can't be tracked. They use the default design set in QR code design templates. For a code you can re-point after printing, create a dynamic code first — see Create a dynamic QR code.

Block settings

Setting Default What it does
Show Link to this page What the code encodes (see above)
QR code — The saved code to display (when Show is A saved QRify code)
URL — The address to encode (when Show is Another URL)
Text — The text to encode (when Show is Plain text)
Size (px) 200 Width of the code, 64–600 in the slider. It never grows wider than its container.
Caption — Text shown under the code
Show download link Off Adds a Download QR code link that saves the code as an SVG file
Align (block toolbar) None (left) Left, center or right alignment of the code

Until there's something to show — for example, a saved-code block with no code picked — the block displays a placeholder: "Choose what the code should open in the block settings."

How the block renders

The block saves only its settings. WordPress asks QRify to render it each time the page loads, so it always matches your current code and default design. The output is an inline SVG in a <figure class="qrify-qr">, with the caption and download link in a <figcaption>.

Conclusion

The QR Code block is the visual way to place a code in the block editor: pick a saved code to keep tracking, or link to the page for a quick static code. To add a code to every post automatically, see Automatic QR codes on posts.

FAQs

Where is the QRify QR Code block?

Open the block inserter in the editor and search for "QR Code". It's in the Media category. Searching "qr", "qrcode", "barcode" or "scan" also finds it. The block is available on any post type that uses the block editor.

The block's QR code field lists only active codes. If the code is paused, activate it on QRify → All QR Codes first. The search matches the code's name and short link, so try a word from the title you gave it.

Can I change the design of a code in the block?

Not from the block. A saved code uses the design you set in the QRify editor — change it there and the block updates. Codes for this page, another URL or text use your default design template, which you set in QRify → Settings → Design templates.

What is the difference between the QR Code block and the [qrify] shortcode?

They render the same QR code markup. The block gives you a visual picker and live preview in the block editor. The shortcode works anywhere shortcodes run, such as page builders, widgets and classic-editor content. Both support size, alignment, a caption and a download link.

Are scans from the block tracked?

Only when the block shows a saved dynamic code. Codes for this page, another URL or plain text are static, so phones open the content directly and the scan never reaches your site.

Was this page helpful?