Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The wordpress tag is used to display code on a page (refer to: http://themeforward.com/demo2/2011/09/12/code-tags-in-post/) but I am having a hard time finding a function that will number the lines of code, as seen on http://themeshaper.com/2009/07/02/wordpress-theme-search-page-template-tutorial/

Does anybody know where this function can be found?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

To get syntax highlighting with line numbering, you'll need to use a plugin like SyntaxHighlighter Evolved. In fact, looking at the source of that second link, it appears that they are using SyntaxHighlighter Evolved themselves.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.