I did mine just writng the code in Visual instead of Text. After adding the code in the Visual screen, the code will created in the manner of
< = < or < > = > or > / = / ] = ] [ = [ " = " or " ' = ' “ = “ or “ ” = ” or “ ‘ = ‘ or ‘ ’ = ’ or ’ & = & or &
Writing Code in Your Posts
http://codex.wordpress.org/Writing_Code_in_Your_Posts
Search phrase: how to add source code to my post in wordpress
(Visited 22 times, 3 visits today)