balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

border.php (1958B)


      1 <?php
      2 /**
      3  * Redux Framework border config.
      4  * For full documentation, please visit: http://devs.redux.io/
      5  *
      6  * @package Redux Framework
      7  */
      8 
      9 defined( 'ABSPATH' ) || exit;
     10 
     11 Redux::set_section(
     12 	$opt_name,
     13 	array(
     14 		'title'      => esc_html__( 'Border', 'your-textdomain-here' ),
     15 		'id'         => 'design-border',
     16 		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/border.html" target="_blank">https://devs.redux.io/core-fields/border.html</a>',
     17 		'subsection' => true,
     18 		'fields'     => array(
     19 			array(
     20 				'id'       => 'opt-header-border',
     21 				'type'     => 'border',
     22 				'title'    => esc_html__( 'Header Border Option', 'your-textdomain-here' ),
     23 				'subtitle' => esc_html__( 'Only color validation can be done on this field type', 'your-textdomain-here' ),
     24 				'output'   => array( '.site-header' ),
     25 				'desc'     => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
     26 				'default'  => array(
     27 					'border-color'  => '#1e73be',
     28 					'border-style'  => 'solid',
     29 					'border-top'    => '3px',
     30 					'border-right'  => '3px',
     31 					'border-bottom' => '3px',
     32 					'border-left'   => '3px',
     33 				),
     34 			),
     35 			array(
     36 				'id'       => 'opt-header-border-expanded',
     37 				'type'     => 'border',
     38 				'title'    => esc_html__( 'Body Border Option', 'your-textdomain-here' ),
     39 				'subtitle' => esc_html__( 'Only color validation can be done on this field type', 'your-textdomain-here' ),
     40 				'output'   => array( 'body' ),
     41 				'all'      => false,
     42 				'desc'     => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
     43 				'default'  => array(
     44 					'border-color'  => '#1e73be',
     45 					'border-style'  => 'solid',
     46 					'border-top'    => '3px',
     47 					'border-right'  => '3px',
     48 					'border-bottom' => '3px',
     49 					'border-left'   => '3px',
     50 				),
     51 			),
     52 		),
     53 	)
     54 );