Advertisement
Guest User

css-framework-saifur2

a guest
Jan 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.53 KB | None | 0 0
  1. <?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
  2. // ===============================================================================================
  3. // -----------------------------------------------------------------------------------------------
  4. // FRAMEWORK SETTINGS
  5. // -----------------------------------------------------------------------------------------------
  6. // ===============================================================================================
  7. $settings           = array(
  8.   'menu_title'      => 'Theme Options',
  9.   'menu_type'       => 'theme', // menu, submenu, options, theme, etc.
  10.   'menu_slug'       => 'neuron-theme-options',
  11.   'ajax_save'       => false,
  12.   'show_reset_all'  => false,
  13.   'framework_title' => 'Neuron Options <small>by Saifur Rahman</small>',
  14. );
  15.  
  16. // ===============================================================================================
  17. // -----------------------------------------------------------------------------------------------
  18. // FRAMEWORK OPTIONS
  19. // -----------------------------------------------------------------------------------------------
  20. // ===============================================================================================
  21. $options        = array();
  22.  
  23. // ----------------------------------------
  24. // a option section for options overview  -
  25. // ----------------------------------------
  26. $options[]      = array(
  27.   'name'        => 'home-page',
  28.   'title'       => 'Home Page',
  29.   'icon'        => 'fa fa-home',
  30.  
  31.   // begin: fields
  32.   'fields'      => array(
  33.     array(
  34.       'id'      => 'intro_title',
  35.       'type'    => 'text',
  36.       'title'   => 'Intro title',
  37.       'desc'    =>  'Put down the title of promo section.',
  38.       'default' =>  'Welcome to the Neuron Finance'
  39.     ),
  40.     array(
  41.       'id'      => 'intro_desc',
  42.       'type'    => 'textarea',
  43.       'title'   => 'Intro Description',
  44.       'desc'    =>  'Put down the description of promo section.',
  45.       'default' =>  'Interactively simplify 24/7 markets through 24/7 best practices. Authoritatively foster cutting-edge manufactured products and distinctive.'
  46.     ),
  47.   ), // end: fields
  48. );
  49.  
  50. $options[]      = array(
  51.   'name'        => 'services-page',
  52.   'title'       => 'Services Page',
  53.   'icon'        => 'fa fa-desktop',
  54.  
  55.   // begin: fields
  56.   'fields'      => array(
  57.     array(
  58.       'id'      => 'service-title',
  59.       'type'    => 'text',
  60.       'title'   => 'service-title',
  61.     ),
  62.   ), // end: fields
  63. );
  64.  
  65. CSFramework::instance( $settings, $options );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement