| 1 |
<?php |
| 2 |
/** |
| 3 |
* General |
| 4 |
* |
| 5 |
* @package wpstream-theme |
| 6 |
*/ |
| 7 |
|
| 8 |
global $wpstream_opt_name; |
| 9 |
Redux::setSection( |
| 10 |
$wpstream_opt_name, |
| 11 |
array( |
| 12 |
'title' => esc_html__( 'General', 'hello-wpstream' ), |
| 13 |
'id' => 'general-options', |
| 14 |
'desc' => '', |
| 15 |
'icon' => 'el-icon-dashboard el-icon-small', |
| 16 |
'fields' => array( |
| 17 |
|
| 18 |
array( |
| 19 |
'id' => 'wpstream_site_width', |
| 20 |
'type' => 'button_set', |
| 21 |
'title' => esc_html__( 'Site Container Width', 'hello-wpstream' ), |
| 22 |
'subtitle' => esc_html__( 'Select website container width.', 'hello-wpstream' ), |
| 23 |
'options' => array( |
| 24 |
'1210px' => '1170px', |
| 25 |
'1310px' => '1270px', |
| 26 |
'1410px' => '1370px', |
| 27 |
'1480px' => '1440px', |
| 28 |
), |
| 29 |
'default' => '1210px', |
| 30 |
), |
| 31 |
array( |
| 32 |
'id' => 'backtotop', |
| 33 |
'type' => 'switch', |
| 34 |
'title' => esc_html__( 'Back to Top', 'hello-wpstream' ), |
| 35 |
'desc' => '', |
| 36 |
'subtitle' => esc_html__( 'Show back to top button', 'hello-wpstream' ), |
| 37 |
'default' => 1, |
| 38 |
'on' => esc_html__( 'Yes', 'hello-wpstream' ), |
| 39 |
'off' => esc_html__( 'No', 'hello-wpstream' ), |
| 40 |
), |
| 41 |
|
| 42 |
|
| 43 |
), |
| 44 |
) |
| 45 |
); |
| 46 |
|