Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to display this file:

on, but all my attempts fail because of preprocessing:

(use "view source" to see what parts of the file WP "hides" from view).

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Use a plugin like syntax highlighter evolved.

Or wrap it in <pre> or <code> tags.

share|improve this answer
<pre><code> didn't work, but <pre><code><textarea> did. I was tempted to use iframe, but sense this is cleaner. – barrycarter May 21 '11 at 11:52

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.