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 need to display a list of results which will include a name, time, etc. They will be in this format: results. I have looked at using tables, but short of writing a script to parse the text file, it wouldn't work. I think the best option is to make them appear in a monospaced font but I cannot find a way to do this that would not require code written on each post.

Cheers, Will.

share|improve this question
im assuming that long red, medium red are considered individual posts? could you elaborate more on where your grabbing these results from? – VicePrez May 27 '11 at 22:40
I would reconsider and use a table, it's tabular data. – Wyck May 28 '11 at 3:00
The whole thing should be one post, it will be grabbed from a txt file, as the other output formats are not 100% computer readable. – JavaNut13 May 28 '11 at 4:31
up vote 1 down vote accepted

So you want to import textual content and preserve its formatting, as opposed to parsing it into HTML?

I suppose the <pre></pre> tags are meant for exactly this. However I would consider spending osme effort to parse input after all, otherwise there is little merit in having it in WordPress.

share|improve this answer
It only needed to be displayed inline. I am will use a text replacing widget to make adding this format user friendly.. – JavaNut13 Jun 23 '11 at 4:03

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.