subscribe

You can update this text in your control panel, under Theme Options. Nam massa. Ut tempor augue non sapien lobortis aliquam. Maecenas.

Displaying code in posts

November 10th, 2009

Assuming you write posts in the HTML view (as opposed to Visual), a quick trick for displaying code in your Wordpress posts is to switch to Visual view, enter the code, and then switch back to HTML view. This will automatically translate the code into non-executable code which will be displayed in your post. Try it out by creating a new post, then switching to Visual view and copy/paste this code:

<link rel=”pingback” href=”<?php bloginfo(’pingback_url’); ?>” />

Then switch back to HTML and you will see all the characters are properly escaped, that’s how I wrote this post.

Happy escaping!

Tags: ,

78 Responses to Displaying code in posts

  1. Сергей says:

    http://rel” rel=”nofollow”> Спасибо,…

    Хотя новость уже читал…

  2. LONNIE says:


    CheapTabletsOnline.Com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. Online Pharmacy. Buy drugs online

    Buy:Human Growth Hormone.Nexium.Zyban.Valtrex.Actos.Retin-A.Accutane.Mega Hoodia.Prednisolone.Petcam (Metacam) Oral Suspension.100% Pure Okinawan Coral Calcium.Synthroid.Zovirax.Prevacid.Lumigan.Arimidex….

  3. JAMIE says:


    NEW FASHION store. Original designers collection at low prices!!! 20 % TO 70 % OFF. END OF SEASON SALE!!!

    BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…

  4. CARLOS says:

    ████████►BUY CIALIS◀████████…

    ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲…

  5. TODD says:

    buy pure acai berry

    Buyno prescription…

  6. KARL says:

    Abilify

    Buygeneric pills…

  7. WALTER says:

    Abilify@official.site” rel=”nofollow”>…

    Buyno prescription…

  8. DAVE says:

    Accutane@official.site” rel=”nofollow”>.

    Buywithout prescription…

  9. JOSHUA says:

    Aldactone@official.site” rel=”nofollow”>.

    Buygeneric drugs…

  10. CLAUDE says:

    Allegra@official.site” rel=”nofollow”>…

    Buygeneric pills…

  11. JULIAN says:

    abilify@anxiety.now” rel=”nofollow”>.

    Buygeneric drugs…

  12. JEREMY says:

    generic@Levitra.now” rel=”nofollow”>..

    Buyno prescription…

  13. LEE says:

    cephalexin@use.now” rel=”nofollow”>…

    Buygeneric drugs…

  14. GABRIEL says:

    Benuryl

    Buywithout prescription…

  15. GLENN says:

    Zyrtec

    Buygeneric pills…

  16. DAN says:

    zovirax acyclovir

    Buydrugs without prescription…

  17. KEITH says:

    Voltaren

    Buygeneric drugs…

  18. SHAWN says:

    Clindamycin

    Buywithout prescription…

  19. JAMIE says:

    Zyrtec

    Buygeneric drugs…

  20. TROY says:

    Loratadine

    Buyno prescription…

  21. SAM says:

    Yaz

    Buywithout prescription…

  22. SHAWN says:

    Xalatan

    Buywithout prescription…

  23. EDWARD says:

    Yaz

    Buywithout prescription…

  24. DAVE says:

    Zyrtec

    Buyno prescription…

  25. RONNIE says:

    leg swelling lasix

    Buyno prescription…

  26. DONNIE says:

    yaz plan b

    Buydrugs without prescription…

  27. ADAM says:

    Zyrtec

    Buygeneric meds…

  28. JEREMIAH says:

    Pyridium

    Buygeneric drugs…

  29. JEFF says:

    Prozac

    Buynow it…

  30. WARREN says:

    Rogaine

    Buydrugs without prescription…

  31. AUSTIN says:

    risperdal and luvox loss of libido

    Buydrugs without prescription…

  32. NORMAN says:

    Rocaltrol

    Buygeneric drugs…

  33. ANDY says:

    Pulmicort

    Buywithout prescription…

  34. CLINTON says:

    Purim

    Buyit now…

  35. GERALD says:

    Patanol

    Buynow it…

  36. WARREN says:

    Risperdal

    Buydrugs without prescription…

  37. VIRGIL says:

    Pain@Balm.now” rel=”nofollow”>..

    Buynow…

  38. JOSE says:

    Purim@Purim.Purim” rel=”nofollow”>..

    Buygeneric pills…

  39. ROGER says:

    Purim@Purim.Purim” rel=”nofollow”>..

    Buywithout prescription…

Leave a Reply

Name and Email Address are required fields. Your email will not be published or shared with third parties.

Spam protection by WP Captcha-Free