Advertisement
Guest User

Untitled

a guest
Jul 26th, 2014
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.82 KB | None | 0 0
  1.             $this->sections[] = array(
  2.                 'icon'      => 'el-icon-briefcase',
  3.                 'customizer'=> false,
  4.                 'title'     => __('Portfolio', 'redux-framework-demo'),
  5.                 'fields'    => array(
  6.                     array(
  7.                         'id'        => 'portfolio_back_link',
  8.                         'type'      => 'text',
  9.                         'title'     => __('Link URL for the portfolio `Back` button icon', 'redux-framework-demo'),
  10.                         'subtitle'  => __('Add an URL for the portfolio Back button icon. Default URL is set to homepage. Ex: http://website.com#work', 'redux-framework-demo')
  11.                     ),
  12.  
  13.                     array(
  14.                         'id'        => 'grid_layout_manager',
  15.                         'type'      => 'switch',
  16.                         'title'     => __('Portfolio Grid Layout Manager(Advanced)', 'redux-framework-demo'),
  17.                         'subtitle'  => __('Enable/Disable the portfolio grid layout manager. You`ll be able to overwrite the current default column layouts with new values. Use it carefully! Manage the look of the grid for multiple screen sizes. To see how columns are displayed on the grid, check out this <a href="http://deliciousthemes.com/documentations/patti-wp-docs/patti-columns.png" target="_blank">portfolio grid image</a>.', 'redux-framework-demo'),
  18.                         'default'   => 0,
  19.                         'on'        => 'Enabled',
  20.                         'off'       => 'Disabled'
  21.                     ),                              
  22.                
  23.                     array(
  24.                         'id'        => 'grid_column_very_wide',
  25.                         'type'      => 'slider',
  26.                         'required'  => array('grid_layout_manager', '=', '1'),
  27.                         'title'     => __('Grid Columns for Screens > 1440px', 'redux-framework-demo'),
  28.                         'subtitle'  => __('Set a number of columns for the grid, for screens wider than 1440px.', 'redux-framework-demo'),
  29.                         'default'       => 7,
  30.                         'min'           => 1,
  31.                         'step'          => 1,
  32.                         'max'           => 10,
  33.                         'display_value' => 'text'
  34.                     ),  
  35.                     array(
  36.                         'id'        => 'grid_column_wide',
  37.                         'type'      => 'slider',
  38.                         'required'  => array('grid_layout_manager', '=', '1'),
  39.                         'title'     => __('Grid Columns for Screens > 1366px', 'redux-framework-demo'),
  40.                         'subtitle'  => __('Set a number of columns for the grid, for screens between 1366px and 1440px in width.', 'redux-framework-demo'),
  41.                         'default'       => 5,
  42.                         'min'           => 1,
  43.                         'step'          => 1,
  44.                         'max'           => 10,
  45.                         'display_value' => 'text'
  46.                     ),  
  47.                     array(
  48.                         'id'        => 'grid_column_normal',
  49.                         'type'      => 'slider',
  50.                         'required'  => array('grid_layout_manager', '=', '1'),
  51.                         'title'     => __('Grid Columns for Screens > 1280px', 'redux-framework-demo'),
  52.                         'subtitle'  => __('Set a number of columns for the grid, for screens between 1280px and 1366px in width.', 'redux-framework-demo'),
  53.                         'default'       => 5,
  54.                         'min'           => 1,
  55.                         'step'          => 1,
  56.                         'max'           => 10,
  57.                         'display_value' => 'text'
  58.                     ),  
  59.                     array(
  60.                         'id'        => 'grid_column_small',
  61.                         'type'      => 'slider',
  62.                         'required'  => array('grid_layout_manager', '=', '1'),
  63.                         'title'     => __('Grid Columns for Screens > 1024px', 'redux-framework-demo'),
  64.                         'subtitle'  => __('Set a number of columns for the grid, for screens between 1024px and 1280px in width.', 'redux-framework-demo'),
  65.                         'default'       => 5,
  66.                         'min'           => 1,
  67.                         'step'          => 1,
  68.                         'max'           => 10,
  69.                         'display_value' => 'text'
  70.                     ),
  71.                     array(
  72.                         'id'        => 'grid_column_tablet',
  73.                         'type'      => 'slider',
  74.                         'required'  => array('grid_layout_manager', '=', '1'),
  75.                         'title'     => __('Grid Columns for Screens > 768px', 'redux-framework-demo'),
  76.                         'subtitle'  => __('Set a number of columns for the grid, for screens between 768px and 1024px in width.', 'redux-framework-demo'),
  77.                         'default'       => 3,
  78.                         'min'           => 1,
  79.                         'step'          => 1,
  80.                         'max'           => 10,
  81.                         'display_value' => 'text'
  82.                     ),    
  83.                     array(
  84.                         'id'        => 'grid_column_phone',
  85.                         'type'      => 'slider',
  86.                         'required'  => array('grid_layout_manager', '=', '1'),
  87.                         'title'     => __('Grid Columns for Screens > 480px', 'redux-framework-demo'),
  88.                         'subtitle'  => __('Set a number of columns for the grid, for screens between 480px and 768px in width.', 'redux-framework-demo'),
  89.                         'default'       => 2,
  90.                         'min'           => 1,
  91.                         'step'          => 1,
  92.                         'max'           => 10,
  93.                         'display_value' => 'text'
  94.                     ),
  95.  
  96.                     array(
  97.                         'id'        => 'grid_gutter_width',
  98.                         'type'      => 'slider',
  99.                         'required'  => array('grid_layout_manager', '=', '1'),
  100.                         'title'     => __('Grid Gutter Width', 'redux-framework-demo'),
  101.                         'subtitle'  => __('Set the space between the projects, in the grid', 'redux-framework-demo'),
  102.                         'default'       => 4,
  103.                         'min'           => 0,
  104.                         'step'          => 2,
  105.                         'max'           => 50,
  106.                         'display_value' => 'text'
  107.                     ),                                                                                                                                                                
  108.                 )
  109.             );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement