Wordpress: page 1
With the release of PHP 5.3 namespaces became a reality in PHP and they’ve made so much possible including better autoloading. The majority of the time you’ll be used to seeing them at the top of each class file. They can also be used to namespace functions however. A standard PHP namespace declaration would look similar to the following at the top of a class file. namespace Treffynnon\Html; class Tag { // . Read more ⇒
Displaying Syntax Highlighted Code in Wordpress
It is difficult to use both the TinyMCE WYSIWYG and post formatted code. TinyMCE will attempt to cleanup your HTML and it will therefore remove any tags it does not recognise so your XML code will be hacked up. To compound the problem further Wordpress has annoying habit of removing all your carefully laid out indentation and line breaks. There are many solutions to the problem out there including plugins that use BBCode to wrap the posted code up in. Read more ⇒
Wordpress I have now moved my website over to WordPress; it is more widely supported than TextPattern and it has a regular release schedule. Read more ⇒