Skip to content

Show Codes on Your Site

Add a QR Code to Every Post or Product Automatically

People print recipes, articles and product pages — and then have no way back to the live page. Adding a QR code to each one by hand doesn't scale. QRify's Automatic QR codes setting adds a code linking to the page itself on every post of the types you choose, before or after the content, with an optional caption and download link. Authors can hide it on individual posts.

What are automatic QR codes?

Automatic QR codes are QR codes QRify adds to the content of every published post of the post types you select. Each code encodes that post's own permalink, uses your default design template, and appears only on the single post view. The UI describes them as "handy for printed articles, product pages and menus."

Turn on automatic QR codes

  1. Go to QRify → Settings.

  2. Find the Automatic QR codes card.

  3. Under Show on, tick each post type that should get a code — for example Posts, Pages, or Products if WooCommerce is active. Every public post type on your site is listed.

  4. Set the options that appear:

    Option Default What it does
    Position After content Before content or After content
    Size (px) 160 Width of the code, 64–1024
    Caption (empty) Text under the code, up to 80 characters. The placeholder suggests "Scan to open on your phone".
    Show a download link Off Adds a Download QR code link under the code
  5. Click Save settings.

Open any post of that type on the front end: the code appears centred, before or after the content.

Hide the code on one post

When a post type has automatic codes turned on, its editor gets a QR Code box in the sidebar.

  1. Edit the post.
  2. In the QR Code box, tick Hide QR code on this post.
  3. Update the post.

On a published post, the box also previews the code and offers a download, so authors can grab it for a print version. On a draft it says "The QR code appears once the post is published."

Where the code appears — and where it doesn't

The code is added through the post content, so it appears wherever your theme shows the content of a single post. It is not added:

  • on archive, category, search or home listings — only on the single post or page view,
  • in RSS feeds,
  • in secondary loops such as related-post widgets,
  • on post types you haven't ticked under Show on,
  • on posts where Hide QR code on this post is ticked.

Style the automatic code

Automatic codes use your default design template. To give them your brand colors or logo, set a default in QRify → Settings → Design templates — see QR code design templates.

The code is wrapped in <figure class="qrify-qr qrify-auto">, so you can target it from your theme's CSS — for example, to hide it on screen and show it only when printing.

Automatic codes are static

Each automatic code encodes the post's permalink directly. That means:

  • Scans aren't counted in analytics.
  • If you change a post's slug, the code updates on the page, but copies already printed point to the old address.

If you need tracking or a code you can re-point after printing, create a dynamic code under QRify → Add New and place it with the [qrify] shortcode or the QR Code block. See Dynamic vs static QR codes for the difference.

Conclusion

Automatic QR codes give every printed page a way back to the live version, with one setting and a per-post opt-out. For codes on individual pages, use the shortcode or the block instead.

FAQs

How do I add a QR code to every WooCommerce product?

Go to QRify → Settings → Automatic QR codes and tick Products under Show on, then save. Each product page then shows a QR code linking to that product, before or after the description depending on the Position setting. The Products option appears when WooCommerce is active, because it lists every public post type.

How do I hide the automatic QR code on one post?

Edit the post and tick Hide QR code on this post in the QR Code box in the editor sidebar, then update. The box only appears on post types that have automatic codes turned on.

Why isn't the automatic QR code showing?

Check that the post type is ticked under Show on, the post is published, you're viewing the single post rather than an archive, and Hide QR code on this post isn't ticked. If your theme shows the post without its standard content area, the code has nowhere to appear.

Can I track scans of automatic QR codes?

No. Automatic codes encode the post's permalink directly, so they're static and scans don't pass through QRify. For a tracked code, create a dynamic code and place it with the shortcode or block.

Can I change the design of automatic QR codes?

Yes. Automatic codes use your default design template. Set one in QRify → Settings → Design templates and every automatic code uses it.

Was this page helpful?