balmet.com

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

box-shadow.php (1531B)


      1 <?php
      2 /**
      3  * Redux Pro Box Shadow Sample config.
      4  * For full documentation, please visit: http:https://devs.redux.io/
      5  *
      6  * @package Redux Pro
      7  */
      8 
      9 defined( 'ABSPATH' ) || exit;
     10 
     11 Redux::set_section(
     12 	$opt_name,
     13 	array(
     14 		'title'      => esc_html__( 'Box Shadow', 'your-textdomain-here' ),
     15 		'id'         => 'design-box-shadow',
     16 		// phpcs:ignore
     17 		// 'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/box-shadow.html" target="_blank">https://devs.redux.io/core-fields/box_shadow.html</a>',
     18 		'subsection' => true,
     19 		'fields'     => array(
     20 			array(
     21 				'id'          => 'opt-box_shadow',
     22 				'type'        => 'box_shadow',
     23 				'output'      => array( '.site-header' ),
     24 				'color_alpha' => array(
     25 					'inset-shadow' => true,
     26 				),
     27 				'media_query' => array(
     28 					'output'   => true,
     29 					'compiler' => true,
     30 					'queries'  => array(
     31 						array(
     32 							'rule'      => 'screen and (max-width: 360px)',
     33 							'selectors' => array( '.box-shadow' ),
     34 						),
     35 						array(
     36 							'rule'      => 'screen and (max-width: 1120px)',
     37 							'selectors' => array( '.box-shadow-wide' ),
     38 						),
     39 					),
     40 				),
     41 				'title'       => esc_html__( 'Box Shadow', 'your-textdomain-here' ),
     42 				'subtitle'    => esc_html__( 'Site Header Box Shadow with inset and drop shadows.', 'your-textdomain-here' ),
     43 				'desc'        => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
     44 			),
     45 		),
     46 	)
     47 );