: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'required' => array( 'lay_c_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout C', 'herald' ),
'default' => herald_get_default_option( 'lay_c_rm' ),
'required' => array( 'lay_c_excerpt', '=', true )
'id' => 'img_size_lay_c_ratio',
'title' => esc_html__( 'Layout C image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout C', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_c_ratio' ),
'id' => 'img_size_lay_c_custom',
'title' => esc_html__( 'Layout C image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout C 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_c_custom' ),
'required' => array( 'img_size_lay_c_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout C1', 'herald' ),
'id' => 'section_layout_c1',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_c1.png' ) ).'"/>'.esc_html__( 'Layout C1', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout C1', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout C1', 'herald' ),
'default' => herald_get_default_option( 'lay_c1_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout C1', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_c1_meta' ),
'id' => 'lay_c1_excerpt',
'title' => esc_html__( 'Layout C1 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout C1', 'herald' ),
'default' => herald_get_default_option( 'lay_c1_excerpt' ),
'id' => 'lay_c1_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_c1_excerpt_limit' ),
'required' => array( 'lay_c1_excerpt', '=', true )
'title' => esc_html__( 'Read more link', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout C1', 'herald' ),
'default' => herald_get_default_option( 'lay_c1_rm' ),
'required' => array( 'lay_c1_excerpt', '=', true )
'id' => 'img_size_lay_c1_ratio',
'title' => esc_html__( 'Layout C1 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout C1', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_c1_ratio' ),
'id' => 'img_size_lay_c1_custom',
'title' => esc_html__( 'Layout C1 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout C1 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_c1_custom' ),
'required' => array( 'img_size_lay_c1_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout D', 'herald' ),
'id' => 'section_layout_d',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_d.png' ) ).'"/>'.esc_html__( 'Layout D', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout D', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout D', 'herald' ),
'default' => herald_get_default_option( 'lay_d_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout D', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_d_meta' ),
'id' => 'img_size_lay_d_ratio',
'title' => esc_html__( 'Layout D image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout D', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_d_ratio' ),
'id' => 'img_size_lay_d_custom',
'title' => esc_html__( 'Layout D image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout D 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_d_custom' ),
'required' => array( 'img_size_lay_d_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout D1', 'herald' ),
'id' => 'section_layout_d1',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_d1.png' ) ).'"/>'.esc_html__( 'Layout D1', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout D1', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout D1', 'herald' ),
'default' => herald_get_default_option( 'lay_d1_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout D1', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_d1_meta' ),
'id' => 'img_size_lay_d1_ratio',
'title' => esc_html__( 'Layout D1 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout D1', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_d1_ratio' ),
'id' => 'img_size_lay_d1_custom',
'title' => esc_html__( 'Layout D1 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout D1 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_d1_custom' ),
'required' => array( 'img_size_lay_d1_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout E', 'herald' ),
'id' => 'section_layout_e',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_e.png' ) ).'"/>'.esc_html__( 'Layout E', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout E', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout E', 'herald' ),
'default' => herald_get_default_option( 'lay_e_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout E', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_e_meta' ),
'title' => esc_html__( 'Layout E excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout E', 'herald' ),
'default' => herald_get_default_option( 'lay_e_excerpt' ),
'id' => 'lay_e_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_e_excerpt_limit' ),
'required' => array( 'lay_e_excerpt', '=', true )
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout F', 'herald' ),
'id' => 'section_layout_f',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_f.png' ) ).'"/>'.esc_html__( 'Layout F', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout F', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout F', 'herald' ),
'default' => herald_get_default_option( 'lay_f_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout F', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_f_meta' ),
'title' => esc_html__( 'Layout F excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout F', 'herald' ),
'default' => herald_get_default_option( 'lay_f_excerpt' ),
'id' => 'lay_f_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_f_excerpt_limit' ),
'required' => array( 'lay_f_excerpt', '=', true )
'id' => 'img_size_lay_f_ratio',
'title' => esc_html__( 'Layout F image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout F', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_f_ratio' ),
'id' => 'img_size_lay_f_custom',
'title' => esc_html__( 'Layout F image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout F 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_f_custom' ),
'required' => array( 'img_size_lay_f_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout F1', 'herald' ),
'id' => 'section_layout_f1',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_f1.png' ) ).'"/>'.esc_html__( 'Layout F1', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout F1', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout F1', 'herald' ),
'default' => herald_get_default_option( 'lay_f1_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout F1', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_f1_meta' ),
'id' => 'lay_f1_excerpt',
'title' => esc_html__( 'Layout F1 excerpt', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout F1', 'herald' ),
'default' => herald_get_default_option( 'lay_f1_excerpt' ),
'id' => 'lay_f1_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_f1_excerpt_limit' ),
'required' => array( 'lay_f1_excerpt', '=', true )
'id' => 'img_size_lay_f1_ratio',
'title' => esc_html__( 'Layout F1 image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout F1', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_f1_ratio' ),
'id' => 'img_size_lay_f1_custom',
'title' => esc_html__( 'Layout F1 image custom ratio', 'herald' ),
'subtitle' => esc_html__( 'Specify your custom ratio for Layout F1 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_f1_custom' ),
'required' => array( 'img_size_lay_f1_ratio', '=', 'custom' ),
Redux::setSection( $opt_name , array(
'title' => esc_html__( 'Layout G', 'herald' ),
'id' => 'section_layout_g',
'type' => 'herald_section',
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_g.png' ) ).'"/>'.esc_html__( 'Layout G', 'herald' ),
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout G', 'herald' ),
'title' => esc_html__( 'Display category', 'herald' ),
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout G', 'herald' ),
'default' => herald_get_default_option( 'lay_g_cat' ),
'title' => esc_html__( 'Meta data', 'herald' ),
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout G', 'herald' ),
'options' => herald_get_meta_opts(),
'default' => herald_get_default_option( 'lay_g_meta' ),
'id' => 'img_size_lay_g_ratio',
'title' => esc_html__( 'Layout G image ratio', 'herald' ),
'subtitle' => esc_html__( 'Choose an image ratio for Layout G', 'herald' ),
'options' => herald_get_image_ratio_opts(),
'default' => herald_get_default_option( 'img_size_lay_g_ratio' ),
'id' => 'img_size_lay_g_custom',