Wallogit.com
2017 © Pedro Peláez
A Lightweight and easy-to-use WordPress Options Framework. It is a free framework for building theme options. Save your time!, (*1)
Read the documentation for details documentation, (*3)
themename/cs-framework folder under your theme directorythemename/functions.php filerequire_once dirname( __FILE__ ) .'/cs-framework/cs-framework.php'; // -(or)- require_once get_template_directory() .'/cs-framework/cs-framework.php';
themename/cs-framework/config folderwp-content/plugins/cs-framework folder under your plugin directorywordpess plugins panel -> add new -> upload plugin
wp-content/plugins/cs-framework/config folder also you can manage config files from theme directory. see overriding files method.Add define code on your themename/functions.php directly., (*4)
define( 'CS_ACTIVE_FRAMEWORK', true ); // default true define( 'CS_ACTIVE_METABOX', false ); // default true define( 'CS_ACTIVE_TAXONOMY', false ); // default true define( 'CS_ACTIVE_SHORTCODE', false ); // default true define( 'CS_ACTIVE_CUSTOMIZE', false ); // default true
or take a look for change define base code from /cs-framework/cs-framework.php directly., (*5)
You can override an existing file without change themename/cs-framework folder. just create one themename/cs-framework-override folder on your theme directory. for eg:, (*6)
themename/cs-framework-override/config/framework.config.php themename/cs-framework-override/functions/constants.php themename/cs-framework-override/fields/text/text.php
You Guys! If you want to see more functions and features for this framework, you can buy me a coffee. I need a lot of it when I am creating new stuff for you. Thank you in advance., (*7)
Codestar Framework is free to use both personal and commercial. If you used commercial, please credit. Read more about GNU license.txt, (*9)
Thanks for guys! Please read credits. If you would like to contribute please fork the project and report bugs or submit pull requests., (*10)
Reset All Options button in framework config fileun_array option for children element getting by unique id. see #235
cs_validate_save for save framework options fieldsadd_menu_page to menu
See changelog, (*11)