The WordPress Show: How to Create a “COPY URL TO CLIPBOARD” link in WordPress
WATCH READ I found it hard to find HTML code to create a “Copy URL To Clipboard” button in WordPress that matched my button styles. But thanks to https://orclqa.com/copy-url-clipboard/ – I found it. This video shows how I did it. <button>Copy Link</button> <script> function copyToClipboard(text) { var inputc = document.body.appendChild(document.createElement(“input”)); inputc.value = window.location.href; inputc.focus(); inputc.select();…
Read More