WordPress Themes and Plugins A basic introduction for web developers
Use free resources! WordPress Codex: http://codex.wordpress.org Source code of other themes, plugins, and the WordPress core Search the internet! WordPresssupport forums on WordPress.org: http://wordpress.org/support/
I want a custom theme! What skills do I need to have? CSS (X)HTML Image editing (only if you plan on having any images and they’re not already ready to go) Copy and paste!
Theme options Make a child theme Modify an existing theme Write your own new theme (or framework) from scratch with lots of copying and pasting!
Things to look for when researching existing themes and frameworks Design and layout Ease of use and quality of code Documentation Dependencies Efficiency Support network Theme/framework/author reputation Internationalization support
Child themes The good: Leverage parent theme upgrades The bad: Doing major customization may mean there might not be much to leverage!
Building smarter, faster, better! Child theme: for those who want to rely on the parent maker for upgrades and need less customization Modifying: for those who don’t care about upgrades, want a simpler structure, and need more customization
What is a WordPress theme? Stylesheet (style.css) Template files Functions (optional: functions.php) /* Theme Name: MyTheme URI: the-theme's-homepage Description: a-brief-description Author: your-nameAuthor URI: your-URI Template: use-this-to-define-a-parent-theme—optional Version: a-number--optional. General comments/License Statement if any.. */
What can I do with functions.php and plugins? Write any custom code! Override pluggable.php functions Use WordPress filter and action hooks Access the database (using WordPress functions, of course!) Connect WordPress to other applications and services
Plugins (and theme functions) don’t have to be complicated! Your coding skill can range from non-existent to expert (REALLY!) Search, research, and make liberal use of your copy and paste skills /* Plugin Name: Magic Plugin Plugin URI: http://example.com/magic-plugin Description: Magic Plugin performs magic Version: 2.3 Author: Mr. MagicAuthor URI: http://example.com/ */