How to Show Code in Wordpress Post

March 5th, 2009

If you write some HTML or PHP script into your wordpress post, it will interprated by the wordpress system and will not show the code content.

There is wordpress plugin called Preserve Code Formatting can help you to show the code in the post. After download the plugin and activate it, you can add the code what you want to show between or

 tag.

It can work both in post and comment, you can see the result in my last post's comments.

相关文章

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


订阅

存档

最新文章

最新留言

友情链接

分类

我的豆瓣