File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/includes/redux-sections/custom-code.php
<?php
/* banner-php */
Redux::setSection( $opt_name, array(
'title' => __('Custom Code', 'domik'),
'id' => 'custom-code',
'subsection' => false,
//'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . '<a href="http://docs.reduxframework.com/core/fields/checkbox/" target="_blank">http://docs.reduxframework.com/core/fields/checkbox/</a>',
'icon' => 'el-icon-file-new',
'fields' => array(
array(
'id' => 'custom-css',
'type' => 'ace_editor',
'title' => esc_html__('CSS Code - Large Desktop View', 'domik'),
'subtitle' => esc_html__('Paste your CSS code here.', 'domik'),
'mode' => 'css',
//'compiler'=>array('body'),
'full_width'=>false,
'theme' => 'monokai',
// 'desc' => 'Possible modes can be found at <a href="'.esc_url('http://ace.c9.io' ).'" target="_blank">http://ace.c9.io/</a>.',
'default' => ""
),
array(
'id' => 'custom-css-medium',
'type' => 'ace_editor',
'title' => esc_html__('CSS Code - Medium Desktop View', 'domik'),
'subtitle' => esc_html__('Paste your CSS code here.', 'domik'),
'mode' => 'css',
//'compiler'=>array('body'),
'full_width'=>false,
'theme' => 'monokai',
// 'desc' => 'Possible modes can be found at <a href="'.esc_url('http://ace.c9.io' ).'" target="_blank">http://ace.c9.io/</a>.',
'default' => ""
),
array(
'id' => 'custom-css-tablet',
'type' => 'ace_editor',
'title' => esc_html__('CSS Code - Tablet View', 'domik'),
'subtitle' => esc_html__('Paste your CSS code here.', 'domik'),
'mode' => 'css',
//'compiler'=>array('body'),
'full_width'=>false,
'theme' => 'monokai',
// 'desc' => 'Possible modes can be found at <a href="'.esc_url('http://ace.c9.io' ).'" target="_blank">http://ace.c9.io/</a>.',
'default' => ""
),
array(
'id' => 'custom-css-mobile',
'type' => 'ace_editor',
'title' => esc_html__('CSS Code - Mobile View', 'domik'),
'subtitle' => esc_html__('Paste your CSS code here.', 'domik'),
'mode' => 'css',
//'compiler'=>array('body'),
'full_width'=>false,
'theme' => 'monokai',
// 'desc' => 'Possible modes can be found at <a href="'.esc_url('http://ace.c9.io' ).'" target="_blank">http://ace.c9.io/</a>.',
'default' => ""
),
),
) );