: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
Redux::setSection( $opt_name , array(
'icon' => ' el-icon-smiley',
'title' => esc_html__( 'Branding', 'herald' ),
'desc' => esc_html__( 'Personalize theme by adding your own images', 'herald' ),
'title' => esc_html__( 'Logo', 'herald' ),
'subtitle' => esc_html__( 'Upload your logo image here, or leave empty to show the website title instead.', 'herald' ),
'default' => herald_get_default_option( 'logo' ),
'title' => esc_html__( 'Retina logo (2x)', 'herald' ),
'subtitle' => esc_html__( 'Optionally upload another logo for devices with retina displays. It should be double the size of your standard logo', 'herald' ),
'default' => herald_get_default_option( 'logo_retina' ),
'title' => esc_html__( 'Mini logo', 'herald' ),
'subtitle' => esc_html__( 'Optionally upload another logo which may be used as mobile/tablet logo', 'herald' ),
'default' => herald_get_default_option( 'logo_mini' ),
'id' => 'logo_mini_retina',
'title' => esc_html__( 'Mini retina logo (2x)', 'herald' ),
'subtitle' => esc_html__( 'Upload double sized mini logo for devices with retina displays', 'herald' ),
'default' => herald_get_default_option( 'logo_mini_retina' ),
'title' => esc_html__( 'Default featured image', 'herald' ),
'subtitle' => esc_html__( 'Upload your default featured image/placeholder. It will be displayed for posts that do not have a featured image set.', 'herald' ),
'default' => herald_get_default_option( 'default_fimg' ),
Redux::setSection( $opt_name , array(
'icon' => 'el-icon-bookmark',
'title' => esc_html__( 'Header', 'herald' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Sections', 'herald' ),
'id' => 'header_sections',
'title' => esc_html__( 'Header sections', 'herald' ),
'subtitle' => esc_html__( 'Select (re-order) header sections you want to display', 'herald' ),
'top' => esc_html__( 'Top bar', 'herald' ),
'middle' => esc_html__( 'Main area (middle bar)', 'herald' ),
'bottom' => esc_html__( 'Bottom bar', 'herald' ),
'trending' => esc_html__( 'Trending posts', 'herald' ),
'default' => herald_get_default_option( 'header_sections' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Top Bar', 'herald' ),
'desc' => esc_html__( 'Modify and style your header top bar', 'herald' ),
'id' => 'color_header_top_bg',
'title' => esc_html__( 'Background color', 'herald' ),
'default' => herald_get_default_option( 'color_header_top_bg' ),
'id' => 'color_header_top_txt',
'title' => esc_html__( 'Text color', 'herald' ),
'default' => herald_get_default_option( 'color_header_top_txt' ),
'id' => 'color_header_top_acc',
'title' => esc_html__( 'Accent color', 'herald' ),
'default' => herald_get_default_option( 'color_header_top_acc' ),
'id' => 'header_top_left',
'title' => esc_html__( 'Left slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in left slot', 'herald' ),
'options' => herald_get_header_elements( 'top', 'left' ),
'default' => herald_get_default_option( 'header_top_left' ),
'id' => 'header_top_center',
'title' => esc_html__( 'Center slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in center slot', 'herald' ),
'options' => herald_get_header_elements( 'top', 'center' ),
'default' => herald_get_default_option( 'header_top_center' ),
'id' => 'header_top_right',
'title' => esc_html__( 'Right slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in right slot', 'herald' ),
'options' => herald_get_header_elements( 'top', 'right' ),
'default' => herald_get_default_option( 'header_top_right' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Main Area', 'herald' ),
'desc' => esc_html__( 'Modify and style your main header area', 'herald' ),
'title' => esc_html__( 'Height', 'herald' ),
'subtitle' => esc_html__( 'Specify a height for your main header area', 'herald' ),
'desc' => esc_html__( 'Note: Height value is in px.', 'herald' ),
'default' => herald_get_default_option( 'header_height' ),
'id' => 'color_header_middle_bg',
'title' => esc_html__( 'Background color', 'herald' ),
'default' => herald_get_default_option( 'color_header_middle_bg' ),
'id' => 'background_header_middle',
'title' => esc_html__( 'Background image', 'herald' ),
'subtitle' => esc_html__( 'Optionally upload background image or pattern', 'herald' ),
'background-color' => false,
'default' => herald_get_default_option( 'background_header_middle' ),
'id' => 'color_header_middle_txt',
'title' => esc_html__( 'Text color', 'herald' ),
'default' => herald_get_default_option( 'color_header_middle_txt' ),
'id' => 'color_header_middle_acc',
'title' => esc_html__( 'Accent color', 'herald' ),
'default' => herald_get_default_option( 'color_header_middle_acc' ),
'id' => 'header_middle_left',
'title' => esc_html__( 'Left slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in left slot', 'herald' ),
'options' => herald_get_header_elements( 'middle', 'left' ),
'default' => herald_get_default_option( 'header_middle_left' ),
'id' => 'header_middle_left_align',
'title' => esc_html__( 'Align elements', 'herald' ),
'subtitle' => esc_html__( 'If you choose more than one element in the slot, choose if they will be aligned horizontally or vertically', 'herald' ),
'hor' => esc_html__( 'Horizontally', 'herald' ),
'ver' => esc_html__( 'Vertically', 'herald' ),
'default' => herald_get_default_option( 'header_middle_left_align' ),
'id' => 'header_middle_center',
'title' => esc_html__( 'Center slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in center slot', 'herald' ),
'options' => herald_get_header_elements( 'middle', 'center' ),
'default' => herald_get_default_option( 'header_middle_center' ),
'id' => 'header_middle_center_align',
'title' => esc_html__( 'Align center slot elements', 'herald' ),
'subtitle' => esc_html__( 'If you choose more than one element in the slot, choose if they will be aligned horizontally or vertically', 'herald' ),
'hor' => esc_html__( 'Horizontally', 'herald' ),
'ver' => esc_html__( 'Vertically', 'herald' ),
'default' => herald_get_default_option( 'header_middle_center_align' ),
'id' => 'header_middle_right',
'title' => esc_html__( 'Right slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in right slot', 'herald' ),
'options' => herald_get_header_elements( 'middle', 'right' ),
'default' => herald_get_default_option( 'header_middle_right' ),
'id' => 'header_middle_right_align',
'title' => esc_html__( 'Align elements', 'herald' ),
'subtitle' => esc_html__( 'If you choose more than one element in the slot, choose if they will be aligned horizontally or vertically', 'herald' ),
'hor' => esc_html__( 'Horizontally', 'herald' ),
'ver' => esc_html__( 'Vertically', 'herald' ),
'default' => herald_get_default_option( 'header_middle_right_align' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Bottom Bar', 'herald' ),
'desc' => esc_html__( 'Modify and style your header bottom bar', 'herald' ),
'id' => 'color_header_bottom_bg',
'title' => esc_html__( 'Background color', 'herald' ),
'default' => herald_get_default_option( 'color_header_bottom_bg' ),
'id' => 'color_header_bottom_txt',
'title' => esc_html__( 'Text color', 'herald' ),
'default' => herald_get_default_option( 'color_header_bottom_txt' ),
'id' => 'color_header_bottom_acc',
'title' => esc_html__( 'Accent color', 'herald' ),
'default' => herald_get_default_option( 'color_header_bottom_acc' ),
'id' => 'header_bottom_left',
'title' => esc_html__( 'Left slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in left slot', 'herald' ),
'options' => herald_get_header_elements( 'bottom', 'left' ),
'default' => herald_get_default_option( 'header_bottom_left' ),
'id' => 'header_bottom_center',
'title' => esc_html__( 'Center slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in center slot', 'herald' ),
'options' => herald_get_header_elements( 'bottom', 'center' ),
'default' => herald_get_default_option( 'header_bottom_center' ),
'id' => 'header_bottom_right',
'title' => esc_html__( 'Right slot', 'herald' ),
'subtitle' => esc_html__( 'Check which elements to add in right slot', 'herald' ),
'options' => herald_get_header_elements( 'bottom', 'right' ),
'default' => herald_get_default_option( 'header_bottom_right' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Trending Posts', 'herald' ),
'desc' => esc_html__( 'Manage settings for you trending posts', 'herald' ),
'id' => 'color_header_trending_bg',
'title' => esc_html__( 'Background color', 'herald' ),
'default' => herald_get_default_option( 'color_header_trending_bg' ),
'id' => 'color_header_trending_txt',
'title' => esc_html__( 'Text color', 'herald' ),
'default' => herald_get_default_option( 'color_header_trending_txt' ),
'id' => 'color_header_trending_acc',
'title' => esc_html__( 'Accent color', 'herald' ),
'default' => herald_get_default_option( 'color_header_trending_acc' ),
'id' => 'trending_number',
'title' => esc_html__( 'Number of posts (columns)', 'herald' ),
'default' => herald_get_default_option( 'trending_number' ),
'title' => esc_html__( 'Display featured images', 'herald' ),
'subtitle' => esc_html__( 'Check if you want display featured images on trending posts', 'herald' ),
'default' => herald_get_default_option( 'trending_fimg' ),
'id' => 'trending_slider',
'title' => esc_html__( 'Enable slider', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to slide/rotate items', 'herald' ),
'default' => herald_get_default_option( 'trending_slider' ),
'id' => 'trending_slider_post',
'title' => esc_html__( 'Specify number of total posts', 'herald' ),
'default' => herald_get_default_option( 'trending_slider_post' ),
'required' => array( 'trending_slider', '=', '1' ),
'id' => 'trending_order',
'title' => esc_html__( 'Trending posts chooses from', 'herald' ),
'options' => herald_get_fa_post_opts(),
'default' => herald_get_default_option( 'trending_order' ),
'title' => esc_html__( 'In category', 'herald' ),
'subtitle' => esc_html__( 'Select trending posts only from one or more specific categories', 'herald' ),
'default' => herald_get_default_option( 'trending_cat' ),
'title' => esc_html__( 'Tagged with', 'herald' ),
'subtitle' => esc_html__( 'Select trending posts only tagged with one or more specific tags', 'herald' ),
'default' => herald_get_default_option( 'trending_tag' ),
'title' => esc_html__( 'Trending posts are not older than', 'herald' ),
'options' => herald_get_time_diff_opts(),
'default' => herald_get_default_option( 'trending_time' ),
'id' => 'trending_manual',
'title' => esc_html__( 'Manually choose trending posts', 'herald' ),
'subtitle' => esc_html__( 'Specify post IDs separated by comma to manually pick trending posts', 'herald' ),
'description' => esc_html__( 'Example: 34, 56, 78, 145, 434, 223', 'herald' ),
'default' => herald_get_default_option( 'trending_manual' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Sticky Header', 'herald' ),
'desc' => esc_html__( 'Modify and style your sticky header area', 'herald' ),
'title' => esc_html__( 'Display sticky header', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable sticky header', 'herald' ),
'default' => herald_get_default_option( 'header_sticky' ),
'id' => 'header_sticky_offset',
'title' => esc_html__( 'Sticky header offset', 'herald' ),
'subtitle' => esc_html__( 'Specify after how many px of scrolling the sticky header appears', 'herald' ),
'default' => herald_get_default_option( 'header_sticky_offset' ),
'required' => array( 'header_sticky', '=', true )
'id' => 'header_sticky_up',
'title' => esc_html__( 'Smart sticky', 'herald' ),
'subtitle' => esc_html__( 'Sticky header appears only if you scroll up', 'herald' ),
'default' => herald_get_default_option( 'header_sticky_up' ),