N/APosted on - 11/07/2011
Hello. I have a problem when I embed the codes for WordPress. Should I follow a certain process? Right now, I am just copying and pasting the codes from a page and then when I do this, it flashes the code right back at me on the screen. What process should I follow?
How to embed code in WordPress
Remember first certain codes will not be allowed to be pasted in WordPress for security reasons e.g. “Embed”.
1. First copy this into your post – [source code language=”css”],
2. Then paste your code,
3. Type this in the end – “[/source code].
Simply speaking you can type your code in between 1 and 3 texts.
I have selected CSS as a language so if your language is different (Say HTML) just enter that language name (i.e. HTML) in the above case. Writing a language in step 1 will make your code a hyperlink. If you don't want to create a hyperlink then don't write language there.
I am sure this is made very easy for you.