Theme Support Functions for Custom Header and Background
WordPress 3.4 introduced a new method of dealing with custom headers and backgrounds. The old functions add_custom_image_header( $args ) and add_custom_background( $args ) were depreciated in favor of...
View ArticleProper Way to Enqueue Styles and Scripts in a WordPress Theme
I’ve seen a lot of themes enqueuing style sheets and scripts incorrectly, either by calling them using the wp_print_styles or wp_head hooks, or just placing wp_enqueue_style() right in the header. The...
View ArticleProper way to add a Superfish Menu to a WordPress Theme
If you’ve ever coded the CSS and/or JavaScript needed to make a WordPress nav menu work smoothly across all browsers, you know how daunting that can be. Superfish is a jQuery plugin that is really...
View ArticleMaking a WordPress Theme – World’s Most Detailed Tutorial
This is the most detailed tutorial in the world (to my knowledge) on the topic of creating a WordPress theme from scratch. If you read it all, you will know everything you need to create a complete and...
View ArticleCustom Walker to Extend the Walker_Comment Class
The Walker_Comment class seems to be the weirdest and most hacked together of all the Walker classes in WordPress. Despite a few hours searching, I could not find a single example of a working...
View Article