Color Palettes with the Options Framework
An example of how to extend the Options Framework to enable color palettes to be selected by users. Continue reading
An example of how to extend the Options Framework to enable color palettes to be selected by users. Continue reading
Ajax is a great method for loading new content onto a web page without having to do an entire page refresh. It’s sometimes used in WordPress themes for paging, or comments- but this tutorial explains how to ajaxify larger portions of the site and use HTML5 pushstates. Continue reading
Several of my websites were hacked this last week using the TimThumb exploit. Here’s instructions on how to find the files and replace them- and also the process I used for patching up my sites after the hack. Continue reading
Occasionally a plugin or theme will need to display a notice to users in the WordPress dashboard. This is fairly easy to do using the admin_notices hook, which shows a standard message box at the top of the screen. Continue reading
A little tutorial on boolean basics. The string “false” returns true, and other fun facts. Continue reading
Sometimes you want to detect new users on your site versus returning visitors and display different sorts of information to them. An easy way to do this is to set a cookie. Continue reading
For my projects on GitHub I like to have the most recent stable version tagged so that people have an easy download link to it. So when I go from versions 0.4 > 0.5 on project (for instance), I do this. Continue reading
I’ve encountered a couple issues with javascript race conditions this last week. Here’s a fix you can use. Continue reading
Code snippet for checking which version of WordPress the user is running. Continue reading
What’s the difference between the_content and the_excerpt. What if you want to use the more tag, but strip out images and objects? Big questions. Answered here. Continue reading
How to add a custom post type icon to your WordPress theme, including downloads to use the portfolio icon and directions for styling the admin screen. Continue reading
I’m working on a WordPress theme project where the background needs to change randomly on each page load. To do this I added a body_class that generates a random number between 0 and 5 for me to use for styling. Continue reading