: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Redux Framework Sample Metabox Config File
* For full documentation, please visit: http:https://devs.redux.io/
* @package Redux Framework
defined( 'ABSPATH' ) || exit;
if ( ! class_exists( 'Redux_Metaboxes' ) ) {
Redux_Metaboxes::set_box(
'title' => esc_html__( 'Metabox Options', 'your-textdomain-here' ),
'post_types' => array( 'page', 'post' ),
'position' => 'normal', // normal, advanced, side.
'priority' => 'high', // high, core, default, low.
'title' => esc_html__( 'Basic Fields', 'your-textdomain-here' ),
'id' => 'opt-basic-fields',
'desc' => esc_html__( 'Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at:', 'your-textdomain-here' ) . ' <a href="https://github.com/ReduxFramework/Redux-Framework">https://github.com/ReduxFramework/Redux-Framework</a>',
'icon' => 'el-icon-cogs',
'title' => esc_html__( 'Checkbox', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Basic Checkbox field.', 'your-textdomain-here' ),
'title' => esc_html__( 'Radio Button', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Basic Radio Button field.', 'your-textdomain-here' ),
'1' => esc_html__( 'Option 1', 'your-textdomain-here' ),
'2' => esc_html__( 'Option 2', 'your-textdomain-here' ),
'3' => esc_html__( 'Option 3', 'your-textdomain-here' ),
'title' => esc_html__( 'Media w/ URL', 'your-textdomain-here' ),
'desc' => esc_html__( 'Basic media uploader with disabled URL input field.', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
'default' => array( 'url' => 'http://s.wordpress.org/style/images/codeispoetry.png' ),
'title' => esc_html__( 'Add/Edit Gallery', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Create a new Gallery by selecting existing or uploading new images using the WordPress native uploader', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'title' => esc_html__( 'JQuery UI Slider Example 2 w/ Steps (5)', 'your-textdomain-here' ),
'desc' => esc_html__( 'JQuery UI slider description. Min: 0, max: 300, step: 5, default value: 75', 'your-textdomain-here' ),
'title' => esc_html__( 'JQuery UI Spinner Example 1', 'your-textdomain-here' ),
'desc' => esc_html__( 'JQuery UI spinner description. Min:20, max: 100, step:20, default value: 40', 'your-textdomain-here' ),
'title' => esc_html__( 'Switch On', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Look, it\'s on!', 'your-textdomain-here' ),
'title' => esc_html__( 'Text Fields', 'your-textdomain-here' ),
'desc' => esc_html__( 'Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at:', 'your-textdomain-here' ) . ' <a href="https://github.com/ReduxFramework/Redux-Framework">https://github.com/ReduxFramework/Redux-Framework</a>',
'id' => 'opt-text-fields',
'title' => esc_html__( 'Text Field', 'your-textdomain-here' ),
'title' => esc_html__( 'Textarea Field', 'your-textdomain-here' ),
'title' => esc_html__( 'Color Field', 'your-textdomain-here' ),
'desc' => esc_html__( 'Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at:', 'your-textdomain-here' ) . ' <a href="https://github.com/ReduxFramework/Redux-Framework">https://github.com/ReduxFramework/Redux-Framework</a>',
'icon' => 'el-icon-pencil',
'title' => esc_html__( 'Color Field', 'your-textdomain-here' ),
'required' => array( 'opt-layout', '=', 'on' ),
'title' => esc_html__( 'Layout', 'your-textdomain-here' ),
'desc' => esc_html__( 'Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at:', 'your-textdomain-here' ) . ' <a href="https://github.com/ReduxFramework/Redux-Framework">https://github.com/ReduxFramework/Redux-Framework</a>',
'icon' => 'el-icon-pencil',
'id' => 'homepage_blocks',
'title' => 'Homepage Layout Manager',
'desc' => 'Organize how you want the layout to appear on the homepage',
'required' => array( 'layout', '=', '1' ),
'highlights' => 'Highlights',
'staticpage' => 'Static Page',
'services' => 'Services',
'title' => esc_html__( 'Slides Options', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Unlimited slides with drag and drop sorting.', 'your-textdomain-here' ),
'desc' => esc_html__( 'This field will store all slides values into a multidimensional array to use into a foreach loop.', 'your-textdomain-here' ),
Redux_Metaboxes::set_box(
'id' => 'opt-metaboxes-2',
'post_types' => array( 'page', 'post' ),
'position' => 'side', // normal, advanced, side.
'priority' => 'high', // high, core, default, low.
'icon_class' => 'icon-large',
'icon' => 'el-icon-home',
'title' => esc_html__( 'Cross Box Required', 'your-textdomain-here' ),
'desc' => esc_html__( 'Required arguments work across metaboxes! Click on Color Field under Metabox Options then adjust this field to see the fields within show or hide.', 'your-textdomain-here' ),
'on' => esc_html__( 'On', 'your-textdomain-here' ),
'off' => esc_html__( 'Off', 'your-textdomain-here' ),
Redux_Metaboxes::set_box(
'id' => 'opt-metaboxes-3',
'post_types' => array( 'page', 'post' ),
'position' => 'side', // normal, advanced, side.
'priority' => 'high', // high, core, default, low.
'icon_class' => 'icon-large',
'icon' => 'el-icon-home',
'title' => esc_html__( 'Sidebar', 'your-textdomain-here' ),
'desc' => esc_html__( 'Please select the sidebar you would like to display on this page. Note: You must first create the sidebar under Appearance > Widgets.', 'your-textdomain-here' ),