How to post code when you leave a comment

- by

Sometimes you want to leave a comment and post code to demonstrate what is or isn’t working. For security though, pure HTML and PHP is filtered out – otherwise evildoers could post malicious code wherever they can.

In this screencast I will show you how to post code in comments so it can be displayed but not executed. This is meant to be for WordPress, but may well work with any system that let’s you post as a user.

Enjoy!

Add your voice!

This site uses Akismet to reduce spam. Learn how your comment data is processed.