Installation
Include In Theme
Download zip file from github repository
Extract download zip on
themename/wpsf-frameworkfolder under your theme directoryAdd framework include code on your theme
themename/functions.phpfileYay! Right now you are ready to configure framework, metaboxes, taxonomies, wp customize, shortcoder
Take a look for config files from
themename/wpsf-framework/configfolderRead for about configuration
Folder Stucture
├── wp-content
| ├── themes
| | ├── themename
| | ├── functions.php
| | ├── ...
| | ├── ...This is not meant replace your main functions.php, only put this code below your codes
/**
* WPSFramework
* A Lightweight and easy-to-use WordPress Options Framework
*/
require_once get_template_directory_uri() .'/wpsf-framework/wpsf-framework.php';
// -( or )-
// require_once get_template_directory_uri() .'/subfolder/wpsf-framework/wpsf-framework.php';Include in plugin
Download zip file from github repository
Extract download zip on
your-plugin/wpsf-frameworkfolder under your theme directoryAdd framework include code on your theme
your-plugin/functions.phpfileYay! Right now you are ready to configure framework, metaboxes, taxonomies, wp customize, shortcoder
Take a look for config files from
your-plugin/wpsf-framework/configfolderRead for about configuration
Folder Stucture
Add the below code in plugin's main file your-plugin.php
Usage as Standalone Plugin
Download zip file from github repository
Way1 Extract download zip on
wp-content/plugins/wpsf-frameworkfolder under your plugin directoryWay Upload zip file from
wordpess plugins panel -> add new -> upload pluginActive WPSF Framework plugin from wordpress plugins panel
Yay! Right now you are ready to configure framework, metaboxes, taxonomies, wp customize, shortcoder
Take a look for config files from
wp-content/plugins/wpsf-framework/configfolder also you can manage config files from theme directory. see overriding files method.Read for about configuration
Last updated