Sign up ×
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: but I am having a hard time finding a function that will number the lines of code, as seen on

Does anybody know where this function can be found?

share|improve this question

1 Answer 1

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

Your Answer


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.