PHP Routing Class which supports REST routing

In the last few months I’ve been looking into all the different PHP frameworks and how they glue things together. One of the most important things in every framework is the way it handles routes. I’ve been developing Ruby on…

Newsletter Sign-Up, added configuration helper: Config Extractor

With Newsletter Sign-Up having been downloaded over 50.000 times (combined with the old plugin) it was about time for me to release another update. I’ve been getting more and more e-mails on how to properly configure the plugin so I decided…

Danny raising money for prostate cancer by growing a moustache!

Today I came across this great initiative to raise money for  different men’s health related projects. I thought this would make a great alternative to regular donations so here it is, me joining Movember! MOVEMBER (THE MONTH FORMERLY KNOWN AS NOVEMBER)…

Some Steve Jobs quotes about death

These are some quotes about death from Steve Jobs’ commencement address at Stanford University in 2005 which I find very inspiring. As it turns out, Simple Code Snippets is not only good at showing code snippets, quotes do just fine…

Enabling shortcodes in widgets, quick WordPress tip.

Let’s say you’re developing a plugin that registers a shortcode so that a user can output some kind of form in his posts. Now, the user wants to output the form in one of his widget area’s. One way to…

Conditional Widgets in WordPress

While working on a WordPress theme for a cliënt he stated that he wanted to have page dependent content in the sidebar. In other words, a sitewide widget wouldn’t do because he wanted to hook widgets to certain pages, posts…

Configuring Newsletter Sign-Up – the definitive guide

After releasing ‘Qoate Newsletter Sign-Up’ a year ago, recoding it into ‘Newsletter Sign-Up’ and 25.000+ total downloads i’ve been getting quite a lot of questions on how to properly configure the plugin for the various newsletter services out there. I’m not surprised..

Draggable image map with zoom in jQuery

Let’s say you want to create some kind of ‘world map’ thingy where you have an image inside a viewport so that most of your ‘map’ overflows the viewport. You want the user to be able to drag around the…

Dynamic custom menu’s in WordPress

Since WordPress 3.0 you can use custom menu’s in your themes, which is great because of how easy to use they are for you or (if you’re a developer) for your cliënts. You can register theme locations where menu’s can…

Preserve inline JavaScript or HTML in the WP post editor

By default WordPress’ WYSIWYG editor will encode all HTML entities inside your post’s content and convert double line breaks to paragraphs. This normally means that all manually inserted HTML or JavaScript will break and if it doesn’t, it will when…