Learning PHP at Pixo was a lead into my initial projects: building custom WordPress themes. My first project was a child theme and my second was a ‘from scratch’ theme. I had two awesome mentors through this process and I can’t thank them enough. What follows is a bit of a brain dump of notes and useful links I had bookmarked along the way.
One thing that really gets to me when learning a new framework (and I use that term very loosely here) is that the official documentation is of poor quality in terms of content, organization, etc. WordPress’ documentation does not suffer this problem. Most times when I go to the wordpress codex, I can find exactly what I’m looking for. This really helps soften the learning curve.
- I have the template hierarchy overview page bookmarked and refer to it frequently.
- Template tags design pattern – a useful pattern, though I would take it one step further and break these all out into their own file to include in functions.php. Otherwise, functions.php can get incredibly large and difficult to manage.
- http://codex.wordpress.org/Function_Reference/is_page_template – Are you on a specific page template?
- http://codex.wordpress.org/Function_Reference/wp_enqueue_script (attaching jQuery UI to page)
Categories & Taxonomies
Custom post types and taxonomies
- A custom post type generator
Other “advanced” features
- Taking advantage of WordPress’ action hooks