Skip to content

Conversation

@amirrnazemi
Copy link
Collaborator

Summary

This PR adds the new qr shortcode type for rendering QR codes with optional animations, custom colors, and size settings.

Included

  • New qr shortcode type (Qr_Type class)
  • Support for text or inner content (with nested shortcode rendering)
  • Color + size attributes
  • Animation support via data-anys-qr-animation
  • Frontend animation script
  • KSES allowlist update for <qr-code>

Notes

Self-closing syntax (/) recommended when no inner content is used.

- Added class-based QR animation module.
- Included downloaded vendor QR code scripts.
- Updated enqueue conditions to load animation script only when required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants