Find The Page Template Name In A WordPress Theme

While developing a custom WordPress theme recently I found myself in a situation where I needed to find out the name of the WordPress page template being used for the current page. After searching the WordPress Codex I had found the code which enables you to check the page template by using a string comparison … Read more

Custom Widget Checkboxes Not Staying Checked

During the process of writing a few custom widgets for a custom WordPress theme I found a frustrating problem when using a checkbox as one of the widget options. The checkbox was functioning properly but when it was checked and then the widget options saved it was being unchecked. The answer is really simple but … Read more