Ready to get started?Download WordPress


Widget on block of code to copy the code to your clipboard (3 posts)

  1. boudiccas
    Posted 11 months ago #

    On my site - http://www.sharons.org.uk - I have several postings with large blocks of code. How can I get it so that You just click on the top-right of the block of code and its copied to your clipboard so you can paste it and use it in your site, please? I don't know if it can be done with a plugin or whether its some form of code to be pasted into the css, or whatever? All my searches for a plugin have been unsuccessful, unfortunately.


  2. Media X
    Posted 11 months ago #

    You might try using SyntaxHighlighter Evolved plugin

  3. boudiccas
    Posted 11 months ago #

    I'm already using 'Syntax Highlighter for WordPress' which is very good, but I'm after something that you click and it copies the code to the clipboard, like you see on github sites in the top right of their codebox.


You must log in to post.

About this Topic