: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'id' => 'lay_fa2_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_fa2_excerpt_limit' ),
'required' => array( 'lay_fa2_excerpt', '=', true )
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
'default' => herald_get_default_option( 'lay_fa2_color' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout 3', 'herald' ),
'id' => 'section_layout_fa3',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa3.png' ) ).'"/>'.esc_html__( 'Layout 3', 'herald' ),
'subtitle' => esc_html__( 'Manage options for featured area Layout 3', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'default' => herald_get_default_option( 'lay_fa3_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_fa3_meta' ),
'id' => 'lay_fa3_excerpt',
'title' => esc_html__( 'Display text excerpt', 'herald' ),
'default' => herald_get_default_option( 'lay_fa3_excerpt' ),
'id' => 'lay_fa3_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_fa3_excerpt_limit' ),
'required' => array( 'lay_fa3_excerpt', '=', true )
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
'default' => herald_get_default_option( 'lay_fa3_color' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout 4', 'herald' ),
'id' => 'section_layout_fa4',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa4.png' ) ).'"/>'.esc_html__( 'Layout 4', 'herald' ),
'subtitle' => esc_html__( 'Manage options for featured area Layout 4', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'default' => herald_get_default_option( 'lay_fa4_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_fa4_meta' ),
'id' => 'lay_fa4_excerpt',
'title' => esc_html__( 'Display text excerpt', 'herald' ),
'default' => herald_get_default_option( 'lay_fa4_excerpt' ),
'id' => 'lay_fa4_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_fa4_excerpt_limit' ),
'required' => array( 'lay_fa4_excerpt', '=', true )
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
'default' => herald_get_default_option( 'lay_fa4_color' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout 5', 'herald' ),
'id' => 'section_layout_fa5',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa5.png' ) ).'"/>'.esc_html__( 'Layout 5', 'herald' ),
'subtitle' => esc_html__( 'Manage options for featured area Layout 5', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'default' => herald_get_default_option( 'lay_fa5_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_fa5_meta' ),
Redux::setSection( $opt_name , array(
'icon' => 'el-icon-pencil',
'title' => esc_html__( 'Single Post', 'herald' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout', 'herald' ),
'id' => 'section_single_layout',
'title' => esc_html__( 'Layout', 'herald' ),
'subtitle' => esc_html__( 'Manage your default layout and sidebar options for single posts', 'herald' ),
'type' => 'image_select',
'title' => esc_html__( 'Single post layout', 'herald' ),
'subtitle' => esc_html__( 'Choose a default layout for single posts', 'herald' ),
'desc' => esc_html__( 'Note: You can override this option for each specific post', 'herald' ),
'options' => herald_get_single_layouts(),
'default' => herald_get_default_option( 'single_layout' ),
'id' => 'single_use_sidebar',
'type' => 'image_select',
'title' => esc_html__( 'Display sidebar', 'herald' ),
'desc' => esc_html__( 'Note: You can override this option for each particular post', 'herald' ),
'options' => herald_get_sidebar_layouts(),
'default' => herald_get_default_option( 'single_use_sidebar' ),
'id' => 'single_sidebar',
'title' => esc_html__( 'Post standard sidebar', 'herald' ),
'subtitle' => esc_html__( 'Choose a single post standard sidebar', 'herald' ),
'options' => herald_get_sidebars_list(),
'default' => herald_get_default_option( 'single_sidebar' ),
'required' => array( 'single_use_sidebar', '!=', 'none' )
'id' => 'single_sticky_sidebar',
'title' => esc_html__( 'Post sticky sidebar', 'herald' ),
'subtitle' => esc_html__( 'Choose a single post sticky sidebar', 'herald' ),
'options' => herald_get_sidebars_list(),
'default' => herald_get_default_option( 'single_sticky_sidebar' ),
'required' => array( 'single_use_sidebar', '!=', 'none' )
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Content', 'herald' ),
'id' => 'section_single_content',
'title' => esc_html__( 'Content', 'herald' ),
'subtitle' => esc_html__( 'Manage options for single post content', 'herald' ),
'title' => esc_html__( 'Display category link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link', 'herald' ),
'default' => herald_get_default_option( 'single_cat' ),
'id' => 'lay_single_meta',
'title' => esc_html__( 'Meta data ( list )', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for single posts', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_single_meta' ),
'title' => esc_html__( 'Display featured image', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display the featured image', 'herald' ),
'default' => herald_get_default_option( 'single_fimg' ),
'id' => 'single_fimg_cap',
'title' => esc_html__( 'Display featured image caption', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a caption/description on the featured image', 'herald' ),
'default' => herald_get_default_option( 'single_fimg_cap' ),
'required' => array( 'single_fimg', '=', true )
'id' => 'img_size_lay_single_ratio',
'title' => esc_html__( 'Featured image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio', 'herald' ),
'options' => herald_get_image_ratio_opts( true ),
'default' => herald_get_default_option( 'img_size_lay_single_ratio' ),
'id' => 'img_size_lay_single_custom',
'title' => esc_html__( 'Featured image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio ', 'herald' ),
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
'default' => herald_get_default_option( 'img_size_lay_single_custom' ),
'required' => array( 'img_size_lay_single_ratio', '=', 'custom' ),
'id' => 'single_headline',
'title' => esc_html__( 'Display headline (excerpt)', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display post excerpt at the begining of post', 'herald' ),
'default' => herald_get_default_option( 'single_headline' ),
'title' => esc_html__( 'Display tags', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display tags below the post content', 'herald' ),
'default' => herald_get_default_option( 'single_tags' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Meta bar', 'herald' ),
'id' => 'section_single_meta',
'title' => esc_html__( 'Meta bar', 'herald' ),
'subtitle' => esc_html__( 'Manage options for vertical meta bar on single posts', 'herald' ),
'id' => 'single_meta_bar_position',
'type' => 'image_select',
'title' => esc_html__( 'Meta bar layout', 'herald' ),
'desc' => esc_html__( 'Note: You can override this option for each particular post', 'herald' ),
'options' => herald_get_meta_bar_layouts(),
'default' => herald_get_default_option( 'single_meta_bar_position' ),
'id' => 'single_meta_bar_sticky',
'title' => esc_html__( 'Make meta bar sticky ', 'herald' ),
'subtitle' => esc_html__( 'Check this option if you want meta bar to stick to top while scrolling', 'herald' ),
'default' => herald_get_default_option( 'single_meta_bar_sticky' ),
'title' => esc_html__( 'Display author image', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display author avatar', 'herald' ),
'default' => herald_get_default_option( 'single_avatar' ),
'id' => 'single_author_social_links',
'title' => esc_html__( 'Author social links', 'herald' ),
'subtitle' => esc_html__( 'Check which social links you want to display below the author avatar', 'herald' ),
'desc' => esc_html__( 'Note: The social URLs for each author must be present in its profile settings', 'herald' ),
'options' => herald_get_author_social_opts(),
'default' => herald_get_default_option( 'single_author_social_links' ),
'required' => array( 'single_avatar', '=', true )
'id' => 'lay_single_big_meta',
'title' => esc_html__( 'Meta data ( big )', 'herald' ),
'subtitle' => esc_html__( 'Check what big meta data to show for single posts', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_single_big_meta' ),
'title' => esc_html__( 'Display share icon', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display share icon', 'herald' ),
'desc' => !function_exists( 'meks_ess_share' ) ? wp_kses_post( sprintf( __( 'Note: <a href="%s">Meks Easy Social Share plugin</a> must be activated to use this option.', 'herald' ), admin_url( 'themes.php?page=install-required-plugins' ) ) ) : '',
'default' => herald_get_default_option( 'single_share' ),
'id' => 'single_meta_ad',
'title' => esc_html__( 'Display ad', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display ad inside meta bar', 'herald' ),
'top' => esc_html__( 'At the top of meta bar', 'herald' ),
'bottom' => esc_html__( 'At the bottom of meta bar', 'herald' ),
'none' => esc_html__( 'Do not display', 'herald' ),
'default' => herald_get_default_option( 'single_meta_ad' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Extras', 'herald' ),
'title' => esc_html__( 'Display author area', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display the "about the author" area.', 'herald' ),
'default' => herald_get_default_option( 'single_author' ),
'id' => 'single_share_content',
'title' => esc_html__( 'Display share buttons in content', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display share buttons area in the content.', 'herald' ),
'default' => herald_get_default_option( 'single_share_content' ),
'id' => 'single_share_content_position',
'title' => esc_html__( 'Choose share buttons position', 'herald' ),
'subtitle' => esc_html__( 'Choose where do you want to show share buttons in content', 'herald' ),
'default' => herald_get_default_option( 'single_share_content_position' ),
'above' => esc_html__( 'Above content', 'herald' ),
'below' => esc_html__( 'Below content', 'herald' ),
'above_below' => esc_html__( 'Above and below content', 'herald' ),
'required' => array( 'single_share_content', '=', true)
'id' => 'single_paginated_nav_position',
'title' => esc_html__( 'Display paginated post navigation', 'herald' ),
'subtitle' => esc_html__( 'Check where do you want to display paging navigation for paginated posts', 'herald' ),
'above' => esc_html__( 'Above content', 'herald' ),
'below' => esc_html__( 'Below content', 'herald' ),
'abovebelow' => esc_html__( 'Above and below content', 'herald' ),
'default' => herald_get_default_option( 'single_paginated_nav_position' ),
'id' => 'single_comment_form',
'title' => esc_html__( 'Display comment form', 'herald' ),
'subtitle' => esc_html__( 'Check where do you want to display comment form', 'herald' ),
'above' => esc_html__( 'Above comments list', 'herald' ),
'below' => esc_html__( 'Below comments list', 'herald' ),
'default' => herald_get_default_option( 'single_comment_form' ),
'id' => 'single_infinite_scroll',
'title' => esc_html__( 'Infinite scroll', 'herald' ),
'subtitle' => esc_html__( 'Enable infinite scroll loading for single posts', 'herald' ),
'default' => herald_get_default_option( 'single_infinite_scroll' ),