From 11e1c64d9d1ae2381da35ccd2d1afeb295be12e8 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Fri, 28 Mar 2025 15:14:28 +0100 Subject: [PATCH] Generating a QRcode for the permalink (which strips the ?print query string) --- build/wp-printable-qrcode/render.php | 17 ++++++++++++++--- build/wp-printable-qrcode/style-index-rtl.css | 2 +- build/wp-printable-qrcode/style-index.css | 2 +- src/wp-printable-qrcode/render.php | 17 ++++++++++++++--- src/wp-printable-qrcode/style.scss | 3 --- 5 files changed, 30 insertions(+), 11 deletions(-) diff --git a/build/wp-printable-qrcode/render.php b/build/wp-printable-qrcode/render.php index ed04092..c4ecd16 100644 --- a/build/wp-printable-qrcode/render.php +++ b/build/wp-printable-qrcode/render.php @@ -1,8 +1,19 @@ -

> - -

+
> + +
diff --git a/build/wp-printable-qrcode/style-index-rtl.css b/build/wp-printable-qrcode/style-index-rtl.css index 75c0d4f..8b13789 100644 --- a/build/wp-printable-qrcode/style-index-rtl.css +++ b/build/wp-printable-qrcode/style-index-rtl.css @@ -1 +1 @@ -.wp-block-wppqr-wp-printable-qrcode{background-color:#21759b;color:#fff;padding:2px} + diff --git a/build/wp-printable-qrcode/style-index.css b/build/wp-printable-qrcode/style-index.css index 75c0d4f..8b13789 100644 --- a/build/wp-printable-qrcode/style-index.css +++ b/build/wp-printable-qrcode/style-index.css @@ -1 +1 @@ -.wp-block-wppqr-wp-printable-qrcode{background-color:#21759b;color:#fff;padding:2px} + diff --git a/src/wp-printable-qrcode/render.php b/src/wp-printable-qrcode/render.php index ed04092..c4ecd16 100644 --- a/src/wp-printable-qrcode/render.php +++ b/src/wp-printable-qrcode/render.php @@ -1,8 +1,19 @@ -

> - -

+
> + +
diff --git a/src/wp-printable-qrcode/style.scss b/src/wp-printable-qrcode/style.scss index 8dd51b8..cc4c024 100644 --- a/src/wp-printable-qrcode/style.scss +++ b/src/wp-printable-qrcode/style.scss @@ -6,7 +6,4 @@ */ .wp-block-wppqr-wp-printable-qrcode { - background-color: #21759b; - color: #fff; - padding: 2px; }