
外掛標籤
開發者團隊
原文外掛簡介
DMS3 QR Manager lets you create and manage QR codes in WordPress. Each QR points to a URL on your own site (/qr/{slug}) that records visits and redirects visitors to a final destination. Printed QR codes stay valid when you change the destination in the admin.
Optionally enable QR Docs: hierarchical support documents at /qr-docs/{slug}/, with a QR campaign taxonomy and a “Do not index in search engines” control that writes Rank Math and Yoast SEO metas.
Features
Custom post type qr-code with slug, destination URL, and optional UTM campaign per QR
REST API: qr-code is available at /wp/v2/qr-code with metas _dms3_qr_destination_url and _dms3_qr_utm_campaign, plus readonly field dms3_qr_public_url (useful for MCP and API clients); optional qr-doc and taxonomy qr_campanya are also in REST when QR Docs is enabled
Public redirect URLs: {home_url}/qr/{slug}?utm_...
Bridge page before redirect (default 1 second) so Google Analytics can load via wp_head()
Manual fallback link: “Skip to …” if automatic redirect fails
Internal visit tracking with date-range statistics (anonymous scan timestamps only)
Global UTM defaults (utm_source, utm_medium, default campaign)
utm_content is always set automatically to the QR slug
SVG QR preview and download from the list screen and single QR edit screen
Bulk SVG download as a ZIP file ({slug}.svg per code)
WPML: qr-code is excluded from translation
Optional QR Docs (qr-doc) behind Settings → Enable QR Docs
Admin menus: QR Manager followed immediately by QR Docs
Public doc URLs: {home_url}/qr-docs/{slug}/ (WordPress-standard rewrite)
Taxonomy qr_campanya (QR campaigns) for grouping docs (does not change the doc permalink)
“Do not index in search engines” (default on): writes rank_math_robots and Yoast _yoast_wpseo_meta-robots-noindex / nofollow metas
Slug guard for QR Docs: no automatic -2 suffix; admin notices on URL conflicts
How redirects work
Scanned URL example:
https://example.com/qr/wikipedia?utm_source=qr&utm_medium=offline&utm_campaign=port_vendrell&utm_content=wikipedia
Visitor hits /qr/wikipedia
A lightweight bridge page loads (HTTP 200) with analytics scripts
After the configured delay, the browser redirects to the destination URL
The visit is logged in the plugin database
Temporary client-side redirects are used instead of HTTP 301 so every scan hits your server and destination URLs can be updated without reprinting QR codes.
Privacy
When someone scans a published QR code, the plugin stores only the internal QR identifier and the scan timestamp. It does not store IP addresses, HTTP referrers, or plugin-specific cookies. Visit data is used for admin statistics only.
Third-party libraries
QR images are generated with bundled PHP libraries (MIT licensed):
chillerlan/php-qrcode (MIT)
chillerlan/php-settings-container (MIT)
The vendor/ directory is included in the plugin package.
Uninstall
When the plugin is deleted (not merely deactivated), the visit statistics table and plugin options are removed. QR code posts (qr-code) are kept as regular WordPress content.
