WP theming
Jump to navigation
Jump to search
todo; fill out and link up
General
Preprocess
See also preprocess, sass.
- https://github.com/roytomeij/sass-for-wordpress - requires ruby and stuff..
- SASS for WordPress - December 7, 2011
Theme Features
- Theme Features allows a theme to register support of a certain feature. Theme support functions should be called in the theme's functions.php file to work.
- Sidebar Widgets
- Navigation Menus
- Post Formats
- Post Thumbnails
- Custom Backgrounds
- Custom Headers
- Automatic Feed Links
- Editor Style
Templates
Settings API
Basics
Custom settings pages so users can alter aspects of a theme can be handy.
- Settings API
- Example given for choosing a background image.
Frameworks
todo; compare;
- NHP-Theme-Options-Framework - extendable theme options classs, using Settings API. Custom error handling for validation classes, allows each tab to count its errors and display warnings for the user.
- Options Framework Plugin - originally via Thematic Options theme
- Options Framework Theme - newer plugin base starter theme
- The UpThemes Framework
- various things.
Process, etc.
- Theme Review - Guidelines for designing and developing WordPress Themes plus WordPress Theme Directory standards and practices.
Theme customizer in 3.4 - still need to grok relation to Settings API, etc...
Testing
- http://wordpress.org/extend/plugins/theme-check/ - automatically check a theme against Theme Review guidelines
- http://codex.wordpress.org/Theme_Unit_Test - dummy data
- http://wpcandy.com/made/the-sample-post-collection
Layout
- https://github.com/Automattic/table-of-contents - Adds a table of contents to your WordPress pages based on h3 and h4 tags. Useful for documention-centric sites.
Sidebars
- http://codex.wordpress.org/Customizing_Your_Sidebar#New_way_of_adding_sidebars
- stackoverflow: Adding a 2nd Sidebar in a specific Wordpress theme
Typography
quick webfont plugin hack;