Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
- // ===============================================================================================
- // -----------------------------------------------------------------------------------------------
- // FRAMEWORK SETTINGS
- // -----------------------------------------------------------------------------------------------
- // ===============================================================================================
- $settings = array(
- 'menu_title' => 'Theme Options',
- 'menu_type' => 'theme', // menu, submenu, options, theme, etc.
- 'menu_slug' => 'neuron-theme-options',
- 'ajax_save' => false,
- 'show_reset_all' => false,
- 'framework_title' => 'Neuron Options <small>by Saifur Rahman</small>',
- );
- // ===============================================================================================
- // -----------------------------------------------------------------------------------------------
- // FRAMEWORK OPTIONS
- // -----------------------------------------------------------------------------------------------
- // ===============================================================================================
- $options = array();
- // ----------------------------------------
- // a option section for options overview -
- // ----------------------------------------
- $options[] = array(
- 'name' => 'home-page',
- 'title' => 'Home Page',
- 'icon' => 'fa fa-home',
- // begin: fields
- 'fields' => array(
- array(
- 'id' => 'intro_title',
- 'type' => 'text',
- 'title' => 'Intro title',
- 'desc' => 'Put down the title of promo section.',
- 'default' => 'Welcome to the Neuron Finance'
- ),
- array(
- 'id' => 'intro_desc',
- 'type' => 'textarea',
- 'title' => 'Intro Description',
- 'desc' => 'Put down the description of promo section.',
- 'default' => 'Interactively simplify 24/7 markets through 24/7 best practices. Authoritatively foster cutting-edge manufactured products and distinctive.'
- ),
- ), // end: fields
- );
- $options[] = array(
- 'name' => 'services-page',
- 'title' => 'Services Page',
- 'icon' => 'fa fa-desktop',
- // begin: fields
- 'fields' => array(
- array(
- 'id' => 'service-title',
- 'type' => 'text',
- 'title' => 'service-title',
- ),
- ), // end: fields
- );
- CSFramework::instance( $settings, $options );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement