Important Notice - SMOF has reached the end of its development life cycle as we are now joining forces with the Redux Framework. Cheers - Syamil MJ ;)
SMOF is a back-end framework for creating and managing options inside WordPress themes. It cuts off the process of developing your own admin framework and give you more time to actually focus on building your theme. SMOF comes bundled with plentiful of options that should serve most of the needs of any modern theme authors.
The main feature of SMOF is its intuitive, user-friendly interface that aims to look as native as possible to WordPress. Additionally, it comes loaded with some awesome features that makes it even more usable to you as a theme author.
Some of these are:
Native Media Library Uploader
Native WP Color Picker
Drag and Drop Unlimited Slider Options
Layout Manager
Tiles
Backup and Restore
Keeps the site URL out of the database
Google fonts with live preview
Jquery UI slider
...and much more(including base elements inputs, textarea, etc.)
Try the SMOF to Redux Converter
For those interested in the SMOF & NHP fork known as Redux Framework 3.0 we suggest trying the Redux Converter. This plugin is a simple solution that provides the opportunity to experience what Redux has to offer, without the hassle of rewriting your current config file. Simply install the plugin on a site using SMOF and install the ReduxFramework plugin. A new menu item titled SMOF 2 Redux will appear. This newly installed panel will take the current SMOF config - along with any stored data - and convert it to a Redux-compatible format for examination and experimentation.
If you've already tested Redux and want to make the switch, open the Convert to Redux section. You'll be provided with a class that not only instantiates the new Redux-powered panel, but will also migrate any existing data with the activation or upgrade of your theme.
SMOF is released under GPLv3 - http://www.gnu.org/copyleft/gpl.html. You are free to redistribute & modify copies of the plugin under the following conditions:
The new WP 3.5+ "Media Uploader". Combined filed types media and upload(now they are the same, left for themes compatibility).
Native WP Color Picker.
Restrict slider drag and drop handle. Now the user can change the order, only if he click the title(header).
Added custom icon setting for "heading" field type. Now the icon can be set directly from options array.
Redesigned UI slider. I think it looks better now.
SMOF is now portable. You can re-define ADMIN_PATH and ADMIN_DIR in your theme's function.php.
Replaced deprecated functions and constants.
Removed old code.
Other minor changes.
v1.4.4
Added filter hooks to settings when saving and loading
Transparently added pseudo-shortcodes to URLs to avoid storing the site URL in the database so that migrations are easier (no changes to your theme necessary)
Changed all options loading to use one function, instead of get_option()
请发表评论