balmet.com

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

slides.php (1310B)


      1 <?php
      2 /**
      3  * Redux Framework slides 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__( 'Slides', 'your-textdomain-here' ),
     15 		'id'         => 'additional-slides',
     16 		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/slides.html" target="_blank">https://devs.redux.io/core-fields/slides.html</a>',
     17 		'subsection' => true,
     18 		'fields'     => array(
     19 			array(
     20 				'id'          => 'opt-slides',
     21 				'type'        => 'slides',
     22 				'title'       => esc_html__( 'Slides Options', 'your-textdomain-here' ),
     23 				'subtitle'    => esc_html__( 'Unlimited slides with drag and drop sortings.', 'your-textdomain-here' ),
     24 				'desc'        => esc_html__( 'This field will store all slides values into a multidimensional array to use into a foreach loop.', 'your-textdomain-here' ),
     25 				'placeholder' => array(
     26 					'title'       => esc_html__( 'This is a title', 'your-textdomain-here' ),
     27 					'description' => esc_html__( 'Description Here', 'your-textdomain-here' ),
     28 					'url'         => esc_html__( 'Give us a link!', 'your-textdomain-here' ),
     29 				),
     30 			),
     31 		),
     32 	)
     33 );