• I wanted to be able to post some PHP or HTML source code, but on posting, the beginning <?php line or <html> tags are missed when viewed. Is there any modifications that can be made to ensure the full source code is displayed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • To display code, substitute ‘&lt;’ for all the ‘<‘ characters.
    If you type: “&lt;?php blah blah blah ?>”, it will show up here as “<?php blah blah blah ?>”.

    Thread Starter Anonymous

    While that substituting ‘<’ for all the ‘<’ characters is true, i was hoping for an automated way of posting the exact contents of a post as i am intending to have visitors post code. Maybe i should play around with the wordpress code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Posting source code and missing tags’ is closed to new replies.