PDA

View Full Version : How do I make a code box for copying and pasting?



Harold Mansfield
05-24-2010, 10:21 PM
Like it say's. It doesn't seem to be working for me in Wordpress.
All I want to do is have a box where I can put code, for my readers to be able to copy and paste it elsewhere.
Very common around the web.

Everything that I have tried, strips the code, especially <script> tags, when I save it, or it displays what the code creates.

Anyone got a quick solution?

Spider
05-24-2010, 10:41 PM
Make it an image?

a pdf?

an iframe?

Harold Mansfield
05-24-2010, 11:26 PM
Make it an image?

Can't copy text from an image



a pdf?
Too much. Too complicated for users.



an iframe?
Here we go again with the frames:p

Harold Mansfield
05-25-2010, 12:13 AM
Duh, never mind I got it.:o
I forgot that Wordpress MU strips code embeds by default unless you edit one of the files or apply a plug in.
That's why all of my code kept disappearing.