Support » Fixing WordPress » Posting code samples in WordPress

  • I’ve learned how to post code here, but I can’t seem to figure out how to do it in Word Press.
    I went to post the following code sample in my local memory blog, and I tried surrounding the code sample with the code tag, with the pre tag and with backticks. None of them worked 🙁
    <li id="archives">Last 10 posts

      <?php get_archives('postbypost','10','html'); ?>

    I searched the forums, but couldn’t find anything on point. Suggestions?

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Posting code samples in WordPress’ is closed to new replies.