I want to post the script code. If I post the code between code tag, its make sense to me that the script will be not processed. But, I dont know the wordpress’s editor change my code. Very boring to programmers.
Is this have solution?
Here’s a thread to read
Hi, thanks to reply…
For example, in foruns, if you put code [code] tag, the content inside of this tag will not processed.
In here, code tag will change my html tags, spaces, etc...
You mean you don’t want to use the code, you just want to post the code, as text? I’m certain that there’s a way to do that, but unfortunately I don’t know it. Have you tried just putting extra spaces between your < and > brackets and the content between them?
I think I know what you mean now I have looked at your blog. Put the code betweeen backticks and it will not be stripped out like this ‘put code here`.
backticks only work in the forums.
to post code in your blog, paste what you want into the “visual” tab of the editor, then switch over to the “code” tab. select what you just pasted in and click the code button at the top (this will insert
<code>tags around it).
if you have tab indents, you’ll also want to put <pre> tags around your code.
(the reason for pasting into the visual editor is that it will automatically convert
<symbols into html entities (
lt;), so that when you post, they don’t get stripped or processed)
You mean you don’t want to use the code, you just want to post the code, as text?
How about getting a screenshot of the text and post it as an image?
Nosy, then you can’t cut and paste the code if you want to use it. :)