Categories
PHP

PHP short tags

Another post from the archives: I am running a WAMP development environment at home and at work. I am always looking for new ways to fine-tune my set-up. Here is one… The short open tags option allow you to leave off the “php” in the opening tag of your code block. So, instead of: <?php […]

Categories
WordPress

Crayon Syntax Highlighter for posting code in WordPress

So, after the blog was hacked and the hosting company could not restore it from a back-up, I have embarked on setting up the blog from scratch. I needed a syntax highlighter and went in search using the WordPress dashboard. I came up with the Crayon plug-in. It certainly seems to have a far fuller […]