July 22nd in Internet, PHP Scripts, Wordpress by .

Displaying HTML code in WordPress Posts!

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.

wpmcode.PNG

All you have to do is wrap it under the tag

Damn! i love this code syntax highlighter!

Similar Posts:

One Comment

  • Schnäppchen
    August 31, 2009

Leave A Comment.





Please wrap all source codes with [code][/code] tags. Powered by