: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'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_a_custom' ),
'required' => array( 'img_size_lay_a_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout A1', 'herald' ),
'id' => 'section_layout_a1',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_a1.png' ) ).'"/>'.esc_html__( 'Layout A1', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout A1', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout A1', 'herald' ),
'default' => herald_get_default_option( 'lay_a1_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout A1', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_a1_meta' ),
'id' => 'lay_a1_excerpt',
'title' => esc_html__( 'Layout A1 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout A1', 'herald' ),
'default' => herald_get_default_option( 'lay_a1_excerpt' ),
'id' => 'lay_a1_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_a1_excerpt_limit' ),
'required' => array( 'lay_a1_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout A1', 'herald' ),
'default' => herald_get_default_option( 'lay_a1_rm' ),
'required' => array( 'lay_a1_excerpt', '=', true )
'id' => 'img_size_lay_a1_ratio',
'title' => esc_html__( 'Layout A1 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout A1', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_a1_ratio' ),
'id' => 'img_size_lay_a1_custom',
'title' => esc_html__( 'Layout A1 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout A1 images', '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_a1_custom' ),
'required' => array( 'img_size_lay_a1_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout A2', 'herald' ),
'id' => 'section_layout_a2',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_a2.png' ) ).'"/>'.esc_html__( 'Layout A2', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout A2', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout A2', 'herald' ),
'default' => herald_get_default_option( 'lay_a2_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout A2', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_a2_meta' ),
'id' => 'lay_a2_excerpt',
'title' => esc_html__( 'Layout A2 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout A2', 'herald' ),
'default' => herald_get_default_option( 'lay_a2_excerpt' ),
'id' => 'lay_a2_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_a2_excerpt_limit' ),
'required' => array( 'lay_a2_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout A2', 'herald' ),
'default' => herald_get_default_option( 'lay_a2_rm' ),
'required' => array( 'lay_a2_excerpt', '=', true )
'id' => 'img_size_lay_a2_ratio',
'title' => esc_html__( 'Layout A2 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout A2', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_a2_ratio' ),
'id' => 'img_size_lay_a2_custom',
'title' => esc_html__( 'Layout A2 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout A2 images', '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_a2_custom' ),
'required' => array( 'img_size_lay_a2_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout A3', 'herald' ),
'id' => 'section_layout_a3',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_a3.png' ) ).'"/>'.esc_html__( 'Layout A3', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout A3', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout A3', 'herald' ),
'default' => herald_get_default_option( 'lay_a3_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout A3', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_a3_meta' ),
'id' => 'lay_a3_excerpt',
'title' => esc_html__( 'Layout A3 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout A3', 'herald' ),
'default' => herald_get_default_option( 'lay_a3_excerpt' ),
'id' => 'lay_a3_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_a3_excerpt_limit' ),
'required' => array( 'lay_a3_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout A3', 'herald' ),
'default' => herald_get_default_option( 'lay_a3_rm' ),
'required' => array( 'lay_a3_excerpt', '=', true )
'id' => 'img_size_lay_a3_ratio',
'title' => esc_html__( 'Layout A3 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout A3', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_a3_ratio' ),
'id' => 'img_size_lay_a3_custom',
'title' => esc_html__( 'Layout A3 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout A3 images', '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_a3_custom' ),
'required' => array( 'img_size_lay_a3_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout B', 'herald' ),
'id' => 'section_layout_b',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_b.png' ) ).'"/>'.esc_html__( 'Layout B', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout B', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout B', 'herald' ),
'default' => herald_get_default_option( 'lay_b_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout B', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_b_meta' ),
'title' => esc_html__( 'Layout B excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout B', 'herald' ),
'default' => herald_get_default_option( 'lay_b_excerpt' ),
'id' => 'lay_b_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_b_excerpt_limit' ),
'required' => array( 'lay_b_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout B', 'herald' ),
'default' => herald_get_default_option( 'lay_b_rm' ),
'required' => array( 'lay_b_excerpt', '=', true )
'id' => 'img_size_lay_b_ratio',
'title' => esc_html__( 'Layout B image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout B', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_b_ratio' ),
'id' => 'img_size_lay_b_custom',
'title' => esc_html__( 'Layout B image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout B images', '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_b_custom' ),
'required' => array( 'img_size_lay_b_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout B1', 'herald' ),
'id' => 'section_layout_b1',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_b1.png' ) ).'"/>'.esc_html__( 'Layout B1', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout B1', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout B1', 'herald' ),
'default' => herald_get_default_option( 'lay_b1_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout B1', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_b1_meta' ),
'id' => 'lay_b1_excerpt',
'title' => esc_html__( 'Layout B1 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout B1', 'herald' ),
'default' => herald_get_default_option( 'lay_b1_excerpt' ),
'id' => 'lay_b1_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_b1_excerpt_limit' ),
'required' => array( 'lay_b1_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout B1', 'herald' ),
'default' => herald_get_default_option( 'lay_b1_rm' ),
'required' => array( 'lay_b1_excerpt', '=', true )
'id' => 'img_size_lay_b1_ratio',
'title' => esc_html__( 'Layout B1 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout B1', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_b1_ratio' ),
'id' => 'img_size_lay_b1_custom',
'title' => esc_html__( 'Layout B1 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout B1 images', '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_b1_custom' ),
'required' => array( 'img_size_lay_b1_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout C', 'herald' ),
'id' => 'section_layout_c',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_c.png' ) ).'"/>'.esc_html__( 'Layout C', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout C', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout C', 'herald' ),
'default' => herald_get_default_option( 'lay_c_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout C', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_c_meta' ),
'title' => esc_html__( 'Layout C excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout C', 'herald' ),
'default' => herald_get_default_option( 'lay_c_excerpt' ),
'id' => 'lay_c_excerpt_limit',
'title' => esc_html__( 'Excerpt limit', 'herald' ),
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
'default' => herald_get_default_option( 'lay_c_excerpt_limit' ),