Introduction to new tag: sourcecode

Posted by

Introduction to new tag: sourcecode:

I hope you remember when I introduced about the tag pre in one of my post. This tag can be used to display the source codes in your posts in But this tag had some bugs. This could not be used with all the themes. But now, wordpress has a new tag that can be used with all the themes and also, this gives al very good look to your codes.

This tag is sourcecode. See the effect if this code below:


You can use this codes like this:

[sourcecode language=’css’]

your code here


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.