{"id":2412,"date":"2026-09-11T11:02:17","date_gmt":"2026-09-11T04:02:17","guid":{"rendered":"https:\/\/forallcenter.org\/?page_id=2412"},"modified":"2026-09-11T11:02:17","modified_gmt":"2026-09-11T04:02:17","slug":"qr","status":"publish","type":"page","link":"https:\/\/forallcenter.org\/index.php\/qr\/","title":{"rendered":"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a"},"content":{"rendered":"<div style=\"font-family: Arial, sans-serif; max-width: 360px; margin: 20px auto; padding: 25px; border: 1px solid #e0e0e0; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); background: #ffffff;\">\n<h3 style=\"margin-top:0; color:#333; font-size: 20px;\">\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code<\/h3>\n<p>    <input type=\"text\" id=\"qr-text\" placeholder=\"\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 \u0e2b\u0e23\u0e37\u0e2d \u0e27\u0e32\u0e07 URL \u0e17\u0e35\u0e48\u0e19\u0e35\u0e48...\" style=\"width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 14px;\"><\/p>\n<p>    <button onclick=\"generateQR()\" style=\"width: 100%; padding: 10px; background-color: #007bff; color: white; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; font-weight: bold; margin-bottom: 15px;\">\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code<\/button><\/p>\n<p>    <!-- \u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25 QR Code --><\/p>\n<div id=\"qrcode-container\" style=\"display: flex; justify-content: center; margin-bottom: 15px; min-height: 200px; align-items: center;\"><\/div>\n<p>    <!-- \u0e1b\u0e38\u0e48\u0e21\u0e01\u0e14\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e23\u0e39\u0e1b (\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e01\u0e14\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e41\u0e25\u0e49\u0e27) --><br \/>\n    <button id=\"download-btn\" onclick=\"downloadQR()\" style=\"width: 100%; padding: 10px; background-color: #28a745; color: white; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; font-weight: bold; display: none;\">\ud83d\udce5 \u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e23\u0e39\u0e1b QR Code<\/button>\n<\/div>\n<p><!-- \u0e42\u0e2b\u0e25\u0e14 Library \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code --><br \/>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/qrcodejs\/1.0.0\/qrcode.min.js\"><\/script><\/p>\n<p><script>\n    let qrcodeObj = null;<\/p>\n<p>    function generateQR() {\n        let text = document.getElementById(\"qr-text\").value;\n        let container = document.getElementById(\"qrcode-container\");\n        let downloadBtn = document.getElementById(\"download-btn\");<\/p>\n<p>        if (!text.trim()) {\n            alert(\"\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e2b\u0e23\u0e37\u0e2d URL \u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e31\u0e1a!\");\n            return;\n        }<\/p>\n<p>        \/\/ \u0e25\u0e49\u0e32\u0e07\u0e23\u0e39\u0e1b\u0e40\u0e01\u0e48\u0e32\n        container.innerHTML = \"\";<\/p>\n<p>        \/\/ \u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e43\u0e2b\u0e21\u0e48\n        qrcodeObj = new QRCode(container, {\n            text: text,\n            width: 200,\n            height: 200,\n            colorDark : \"#000000\",\n            colorLight : \"#ffffff\",\n            correctLevel : QRCode.CorrectLevel.H\n        });<\/p>\n<p>        \/\/ \u0e41\u0e2a\u0e14\u0e07\u0e1b\u0e38\u0e48\u0e21\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\n        setTimeout(() => {\n            downloadBtn.style.display = \"block\";\n        }, 200);\n    }<\/p>\n<p>    function downloadQR() {\n        let img = document.querySelector(\"#qrcode-container img\");\n        let canvas = document.querySelector(\"#qrcode-container canvas\");<\/p>\n<p>        let imageSrc = \"\";\n        if (img && img.src) {\n            imageSrc = img.src;\n        } else if (canvas) {\n            imageSrc = canvas.toDataURL(\"image\/png\");\n        }<\/p>\n<p>        if (imageSrc) {\n            let link = document.createElement(\"a\");\n            link.href = imageSrc;\n            link.download = \"qrcode.png\";\n            document.body.appendChild(link);\n            link.click();\n            document.body.removeChild(link);\n        } else {\n            alert(\"\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e QR Code \u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e14\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\");\n        }\n    }\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e2a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2412","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/forallcenter.org\/index.php\/qr\/\" \/>\n<meta property=\"og:locale\" content=\"th_TH\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23\" \/>\n<meta property=\"og:description\" content=\"\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e2a...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/forallcenter.org\/index.php\/qr\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/forallcenter.org\\\/index.php\\\/qr\\\/\",\"url\":\"https:\\\/\\\/forallcenter.org\\\/index.php\\\/qr\\\/\",\"name\":\"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/forallcenter.org\\\/#website\"},\"datePublished\":\"2026-09-11T04:02:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/forallcenter.org\\\/index.php\\\/qr\\\/#breadcrumb\"},\"inLanguage\":\"th\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/forallcenter.org\\\/index.php\\\/qr\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/forallcenter.org\\\/index.php\\\/qr\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/forallcenter.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/forallcenter.org\\\/#website\",\"url\":\"https:\\\/\\\/forallcenter.org\\\/\",\"name\":\"\u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23\",\"description\":\"Universal Foundation For Persons With Disabilities\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/forallcenter.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"th\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/forallcenter.org\/index.php\/qr\/","og_locale":"th_TH","og_type":"article","og_title":"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23","og_description":"\u0e2a\u0e23\u0e49\u0e32\u0e07 QR Code \u0e2a...","og_url":"https:\/\/forallcenter.org\/index.php\/qr\/","og_site_name":"\u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/forallcenter.org\/index.php\/qr\/","url":"https:\/\/forallcenter.org\/index.php\/qr\/","name":"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a - \u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23","isPartOf":{"@id":"https:\/\/forallcenter.org\/#website"},"datePublished":"2026-09-11T04:02:17+00:00","breadcrumb":{"@id":"https:\/\/forallcenter.org\/index.php\/qr\/#breadcrumb"},"inLanguage":"th","potentialAction":[{"@type":"ReadAction","target":["https:\/\/forallcenter.org\/index.php\/qr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/forallcenter.org\/index.php\/qr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/forallcenter.org\/"},{"@type":"ListItem","position":2,"name":"QR \u0e17\u0e14\u0e2a\u0e2d\u0e1a"}]},{"@type":"WebSite","@id":"https:\/\/forallcenter.org\/#website","url":"https:\/\/forallcenter.org\/","name":"\u0e21\u0e39\u0e25\u0e19\u0e34\u0e18\u0e34\u0e2a\u0e32\u0e01\u0e25\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e19\u0e1e\u0e34\u0e01\u0e32\u0e23","description":"Universal Foundation For Persons With Disabilities","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/forallcenter.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"th"}]}},"_links":{"self":[{"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/pages\/2412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/comments?post=2412"}],"version-history":[{"count":2,"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/pages\/2412\/revisions"}],"predecessor-version":[{"id":2414,"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/pages\/2412\/revisions\/2414"}],"wp:attachment":[{"href":"https:\/\/forallcenter.org\/index.php\/wp-json\/wp\/v2\/media?parent=2412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}