WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to display this file:


on wordpress.barrycarter.info, 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
up vote 2 down vote accepted

Use a plugin like syntax highlighter evolved. http://wordpress.org/extend/plugins/syntaxhighlighter/

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.