Τεχνικά
27 Dec 2025
8 λεπτά
178 προβολές
Ενσωμάτωση QR Codes στο WordPress
#WordPress
#CMS
#integration
#plugins
Το WordPress τροφοδοτεί το 40% του web. Δείτε πώς να προσθέσετε QR codes στο site σας.
Μέθοδοι Ενσωμάτωσης
- Image embed - Απλό <img> tag
- Shortcode - [qrsuite id="123"]
- Widget - Sidebar QR display
- API - Dynamic generation
Embed με Image
<img src="https://qrsuite.gr/qr/abc123.svg" alt="QR Code">Shortcode Setup
Προσθέστε στο functions.php:
function qrsuite_shortcode($atts) {\n $id = $atts['id'];\n return '<img src="https://qrsuite.gr/qr/'.$id.'.svg">';\n}\nadd_shortcode('qrsuite', 'qrsuite_shortcode');Best Practices
- Χρησιμοποιήστε SVG για scalability
- Cache το QR image τοπικά
- Lazy load για performance
A
Admin
QRSuite.gr