Articles
Compiling LESS Files
Recently, I gave up on using Eclipse in favor of NetBeans. I had also considered Visual Studio for my Windows machine, but NetBeans was easy to setup a project that did not get in the way of the folder hierarchy and worked well with my local WAMP setup. As I started...
WordPress Query Performance
Understanding what WordPress is doing under the hood can be tough - especially when it comes to the raw SQL queries. As is usually typical with WordPress, somebody has written a plugin for it - in this case, it is called debug-bar. To get it going, do the following:...
Packaging plugins with themes
As I develop a new theme, I want to package plugins with my theme. Normally, plugins are installed under wp-content/plugins - but if you are distributing your theme, you need a clean, WordPress-familiar way of distributing the corresponding plugins as well...
Admin bar not showing
I am developing a new theme from scratch. Came across an issue where the black admin bar (runs along the top of a site for Administrators) was not displaying. Turned out that I had wp_head() called from within my header.php file, but did not have wp_footer() called...
Accessing a WordPress database
Ever see code like this? function my_special_function() { global $wpdb; $wpdb->get_results( "select * from tbl_blah" ); } There's a special variable that WordPress sets up called $wpdb. It is a window into the database - something that a programmer familiar with...
Searching your gmail account
At the top of the gmail screen is a textbox that acts as a filter against all existing email. Typically, you might use this textbox to search for emails with specific terms found in the body. However, this textbox has a whole lot more to filter against. Here's a...