Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.

Other Posts
Extension Problems with Firefox 1.5.0.6
How to Add “Edit This” Link to Wordpress

How to Correctly Include Code in Your Wordpress Blog Posts

Posted by andrew on August 3rd, 2006

Most of the time, when you include code using the < code> and < / code> in Wordpress editor, you will get weird codes (like addition of spaces, weird symbols coming out etc). To solve this, make use of this Wordpress plugin called “Code Markup“.

Steps:
1. Download the plugin here: Right Click and Save As..
2. Upload to your Wordpress Plugin folder
3. Activate the Plugin.
4. Go to Options>>Writing>>
5. Uncheck the “WordPress should correct invalidly nested XHTML automatically” option box.

That’s it!

For more customisation, visit the plugin author’s blog:
Code Markup - A Wordpress Plugin



Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!