My Theme Options Panel Framework (TOPF) for WordPress is ready for public consumption and I have released version 1.0. TOPF is a WordPress Options panel appearing in the Appearance section of your WordPress Admin. It is useable within any WordPress Theme.
It was originally work done by Devon Price’s Thematic Option’s Panel and I have reworked it extensively. Devon has also released a non-Thematic specific Plugin for WordPress that others may find quite useful as well.
TOPF is fully WordPress Settings API compliant and integrates a number of useful controls for Theme Developers. Currently available option items are:
The Theme Options Panel Framework makes it easy to include an options panel in any WordPress theme. TOPF has been built so that theme developers can concentrate on making the real theme and not spending a ton of time on creating an options panel from scratch. It’s free to use in both commercial and personal projects.
I have made extensive use of TOPF in my Divergence Theme for Thematic and WordPress.
Here is a look at what the Typography Option Item looks like in an Options Panel:
• Place the options folder in your theme or child theme folder.
• Define TOPF_OPTIONS with the name of your options table entry for WordPress. All options are bound into an array and filed into the TOPF_OPTIONS entry.
• Include the main options.php file into your theme:
require_once( get_stylesheet_directory() . '/options/options.php' );
• Setup the options you wish to use in The Array ($topf_theme_options) found in ./options/theme_default_options.php
• Alter the validation for each option in ./options/option-register.php
• Include the implementation file (change and add your own implementations here)
You can download or view the source code from my GitHub repository. (the Download button is near the top right)