Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/redux-fr.../sample/sections/slider-s...
File: slider.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework slider config.
[2] Fix | Delete
* For full documentation, please visit: http://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux Framework
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
defined( 'ABSPATH' ) || exit;
[8] Fix | Delete
[9] Fix | Delete
Redux::set_section(
[10] Fix | Delete
$opt_name,
[11] Fix | Delete
array(
[12] Fix | Delete
'title' => esc_html__( 'Slider', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'slider_spinner-slider',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/slider.html" target="_blank">https://devs.redux.io/core-fields/slider.html</a>',
[15] Fix | Delete
'fields' => array(
[16] Fix | Delete
array(
[17] Fix | Delete
'id' => 'opt-slider-label',
[18] Fix | Delete
'type' => 'slider',
[19] Fix | Delete
'title' => esc_html__( 'Slider Example 1', 'your-textdomain-here' ),
[20] Fix | Delete
'subtitle' => esc_html__( 'This slider displays the value as a label.', 'your-textdomain-here' ),
[21] Fix | Delete
'desc' => esc_html__( 'Slider description. Min: 1, max: 500, step: 1, default value: 250', 'your-textdomain-here' ),
[22] Fix | Delete
'default' => 250,
[23] Fix | Delete
'min' => 1,
[24] Fix | Delete
'step' => 1,
[25] Fix | Delete
'max' => 500,
[26] Fix | Delete
'display_value' => 'label',
[27] Fix | Delete
),
[28] Fix | Delete
array(
[29] Fix | Delete
'id' => 'opt-slider-text',
[30] Fix | Delete
'type' => 'slider',
[31] Fix | Delete
'title' => esc_html__( 'Slider Example 2 with Steps (5)', 'your-textdomain-here' ),
[32] Fix | Delete
'subtitle' => esc_html__( 'This example displays the value in a text box', 'your-textdomain-here' ),
[33] Fix | Delete
'desc' => esc_html__( 'Slider description. Min: 0, max: 300, step: 5, default value: 75', 'your-textdomain-here' ),
[34] Fix | Delete
'default' => 75,
[35] Fix | Delete
'min' => 0,
[36] Fix | Delete
'step' => 5,
[37] Fix | Delete
'max' => 300,
[38] Fix | Delete
'display_value' => 'text',
[39] Fix | Delete
),
[40] Fix | Delete
array(
[41] Fix | Delete
'id' => 'opt-slider-select',
[42] Fix | Delete
'type' => 'slider',
[43] Fix | Delete
'title' => esc_html__( 'Slider Example 3 with two sliders', 'your-textdomain-here' ),
[44] Fix | Delete
'subtitle' => esc_html__( 'This example displays the values in select boxes', 'your-textdomain-here' ),
[45] Fix | Delete
'desc' => esc_html__( 'Slider description. Min: 0, max: 500, step: 5, slider 1 default value: 100, slider 2 default value: 300', 'your-textdomain-here' ),
[46] Fix | Delete
'default' => array(
[47] Fix | Delete
1 => 100,
[48] Fix | Delete
2 => 300,
[49] Fix | Delete
),
[50] Fix | Delete
'min' => 0,
[51] Fix | Delete
'step' => 5,
[52] Fix | Delete
'max' => '500',
[53] Fix | Delete
'display_value' => 'select',
[54] Fix | Delete
'handles' => 2,
[55] Fix | Delete
),
[56] Fix | Delete
array(
[57] Fix | Delete
'id' => 'opt-slider-float',
[58] Fix | Delete
'type' => 'slider',
[59] Fix | Delete
'title' => esc_html__( 'Slider Example 4 with float values', 'your-textdomain-here' ),
[60] Fix | Delete
'subtitle' => esc_html__( 'This example displays float values', 'your-textdomain-here' ),
[61] Fix | Delete
'desc' => esc_html__( 'Slider description. Min: 0, max: 1, step: .1, default value: .5', 'your-textdomain-here' ),
[62] Fix | Delete
'default' => .5,
[63] Fix | Delete
'min' => 0,
[64] Fix | Delete
'step' => .1,
[65] Fix | Delete
'max' => 1,
[66] Fix | Delete
'resolution' => 0.1,
[67] Fix | Delete
'display_value' => 'text',
[68] Fix | Delete
),
[69] Fix | Delete
),
[70] Fix | Delete
'subsection' => true,
[71] Fix | Delete
)
[72] Fix | Delete
);
[73] Fix | Delete
[74] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function