: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Redux Taxonomy Meta config.
* For full documentation, please visit: http://devs.redux.io/
defined( 'ABSPATH' ) || exit;
if ( ! class_exists( 'Redux_Taxonomy' ) ) {
// Change the priority the Redux_Taxonomy boxes appear.
Redux_Taxonomy::set_args(
'taxonomy_priority' => 55,
Redux_Taxonomy::set_term(
'title' => esc_html__( 'Cool Options', 'your-textdomain-here' ),
// Slug for every taxonomy you want.
'taxonomy_types' => array( 'category', 'post_tag' ),
'add_visibility' => true,
// Can be set on term, section, or field level. Denote what fields to be displayed on the added {TERM} pages.
'title' => esc_html__( 'Home Settings', 'your-textdomain-here' ),
'icon' => 'el-icon-home',
'add_visibility' => true,
'title' => esc_html__( 'Input 1', 'your-textdomain-here' ),
'id' => 'tax-button-set',
'title' => esc_html__( 'Button Set Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'add_visibility' => true,
'add_visibility' => true,
'title' => esc_html__( 'Input 2', 'your-textdomain-here' ),
'title' => esc_html__( 'Web Fonts', 'your-textdomain-here' ),
// Can be set to false to allow any media type, or can also be set to any mime type.
'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' ),
'id' => 'tax-section-media-start',
'title' => esc_html__( 'Media Options', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'With the "section" field you can create indent option sections.', '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' ),
'id' => 'tax-section-media-end',
'id' => 'tax-media-no-url',
'title' => esc_html__( 'Media w/o URL', 'your-textdomain-here' ),
'desc' => esc_html__( 'This represents the minimalistic view. It does not have the preview box or the display URL in an input box. ', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
'id' => 'tax-media-no-preview',
'title' => esc_html__( 'Media No Preview', 'your-textdomain-here' ),
'desc' => esc_html__( 'This represents the minimalistic view. It does not have the preview box or the display URL in an input box. ', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Upload any media using the WordPress native uploader', 'your-textdomain-here' ),
'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 1', 'your-textdomain-here' ),
'desc' => esc_html__( 'JQuery UI slider description. Min: 1, max: 500, step: 3, default value: 45', '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__( 'Spinner Example 1', 'your-textdomain-here' ),
'desc' => esc_html__( 'Spinner description. Min:20, max: 100, step:20, default value: 40', 'your-textdomain-here' ),
'id' => 'tax-switch-parent',
'title' => esc_html__( 'Switch - Nested Children, Enable to show', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Look, it\'s on! Also hidden child elements!', 'your-textdomain-here' ),
'id' => 'tax-switch-child',
'required' => array( 'tax-switch-parent', '=', '1' ),
'title' => esc_html__( 'Switch - This and the next switch required for patterns to show', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Also called a "fold" parent.', 'your-textdomain-here' ),
'desc' => esc_html__( 'Items set with a fold to this ID will hide unless this is set to the appropriate value.', 'your-textdomain-here' ),
'title' => esc_html__( 'Home Layout', 'your-textdomain-here' ),
// translators: %s = Redux GitHub URL.
'desc' => sprintf( 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: %s', 'your-textdomain-here' ), '<a href="https://github.com/reduxframework/redux-framework">https://github.com/reduxframework/redux-framework</a>' ),
'icon' => 'el-icon-home',
'id' => 'tax-homepage_blocks',
'title' => 'Homepage Layout Manager',
'desc' => 'Organize how you want the layout to appear on the homepage',
'add_visibility' => true,
'highlights' => 'Highlights',
'staticpage' => 'Static Page',
'services' => 'Services',
'type' => 'image_select',
'title' => esc_html__( 'Preset', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'This allows you to set a json string or array to override multiple preferences in your theme.', 'your-textdomain-here' ),
'desc' => esc_html__( 'This allows you to set a json string or array to override multiple preferences in your theme.', 'your-textdomain-here' ),
'img' => ReduxFramework::$_url . '../sample/presets/preset1.png',
'img' => ReduxFramework::$_url . '../sample/presets/preset2.png',
'presets' => '{"slider1":"1", "slider2":"0", "switch-on":"0"}',