I had a terrible problem for a long time which frustrated me quite often! Being a programmer myself i wanted to post html code on my wordpress post and everytime i do it wordpress wont show the code and only shows the html output.
Just like html i wanted to post code like various other programming languages like PHP, CSS and javascript as well. i finally somehow resolved my problem by installing the free wordpress plugin syntax-highlighter. The code looked beautiful once i installed this plugin.
All you have to do is wrap it under the tag
Damn! i love this code syntax highlighter!
Similar Posts:
- How to post source code in WordPress posts?
- 10 Best WordPress PLUGINS You Never want to MISS!
- WordPress similar posts plugin not working?
- Free HTML Markup Editor
- How to redirect when post submitted for review in WordPress
- Best & Useful WordPress Plugins For Blogs
- 10+ Best Tutorials for WordPress Plugin Writing & Development
- How to add adsense code to vanilla forum?
- How to show source code in wordpress comments?
- Fix ->Wordpres plugin could not be activated fatal error cannot redeclare!


August 31, 2009
I had the same problem with articles and posts for my blog, wordpress was messing up with the code of my site, the solution was very simple, by disabling the WYSWIG editor in wordpress and by using plain html, I finally menage to setup the format of my posts like I want them to.