Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/herald/core/admin
File: options-fields.php
),
[500] Fix | Delete
[501] Fix | Delete
array(
[502] Fix | Delete
'id' => 'color_header_sticky_bg',
[503] Fix | Delete
'type' => 'color',
[504] Fix | Delete
'title' => esc_html__( 'Background color', 'herald' ),
[505] Fix | Delete
'transparent' => false,
[506] Fix | Delete
'default' => herald_get_default_option( 'color_header_sticky_bg' ),
[507] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[508] Fix | Delete
),
[509] Fix | Delete
[510] Fix | Delete
[511] Fix | Delete
array(
[512] Fix | Delete
'id' => 'color_header_sticky_txt',
[513] Fix | Delete
'type' => 'color',
[514] Fix | Delete
'title' => esc_html__( 'Text color', 'herald' ),
[515] Fix | Delete
'transparent' => false,
[516] Fix | Delete
'default' => herald_get_default_option( 'color_header_sticky_txt' ),
[517] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[518] Fix | Delete
),
[519] Fix | Delete
[520] Fix | Delete
array(
[521] Fix | Delete
'id' => 'color_header_sticky_acc',
[522] Fix | Delete
'type' => 'color',
[523] Fix | Delete
'title' => esc_html__( 'Accent color', 'herald' ),
[524] Fix | Delete
'transparent' => false,
[525] Fix | Delete
'default' => herald_get_default_option( 'color_header_sticky_acc' ),
[526] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[527] Fix | Delete
),
[528] Fix | Delete
[529] Fix | Delete
array(
[530] Fix | Delete
'id' => 'header_sticky_left',
[531] Fix | Delete
'type' => 'sortable',
[532] Fix | Delete
'mode' => 'checkbox',
[533] Fix | Delete
'title' => esc_html__( 'Left slot', 'herald' ),
[534] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in left slot', 'herald' ),
[535] Fix | Delete
'options' => herald_get_header_elements( 'sticky', 'left' ),
[536] Fix | Delete
'default' => herald_get_default_option( 'header_sticky_left' ),
[537] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[538] Fix | Delete
),
[539] Fix | Delete
[540] Fix | Delete
array(
[541] Fix | Delete
'id' => 'header_sticky_center',
[542] Fix | Delete
'type' => 'sortable',
[543] Fix | Delete
'mode' => 'checkbox',
[544] Fix | Delete
'title' => esc_html__( 'Center slot', 'herald' ),
[545] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in center slot', 'herald' ),
[546] Fix | Delete
'options' => herald_get_header_elements( 'sticky', 'center' ),
[547] Fix | Delete
'default' => herald_get_default_option( 'header_sticky_center' ),
[548] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[549] Fix | Delete
),
[550] Fix | Delete
[551] Fix | Delete
array(
[552] Fix | Delete
'id' => 'header_sticky_right',
[553] Fix | Delete
'type' => 'sortable',
[554] Fix | Delete
'mode' => 'checkbox',
[555] Fix | Delete
'title' => esc_html__( 'Right slot', 'herald' ),
[556] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in right slot', 'herald' ),
[557] Fix | Delete
'options' => herald_get_header_elements( 'sticky', 'right' ),
[558] Fix | Delete
'default' => herald_get_default_option( 'header_sticky_right' ),
[559] Fix | Delete
'required' => array( 'header_sticky', '=', true )
[560] Fix | Delete
),
[561] Fix | Delete
)
[562] Fix | Delete
)
[563] Fix | Delete
);
[564] Fix | Delete
[565] Fix | Delete
/* Responsive header */
[566] Fix | Delete
Redux::setSection( $opt_name , array(
[567] Fix | Delete
'icon' => '',
[568] Fix | Delete
'title' => esc_html__( 'Responsive Header', 'herald' ),
[569] Fix | Delete
'desc' => esc_html__( 'Manage settings for responsive header, used for mobiles, tablets and other smaller resolutions)', 'herald' ),
[570] Fix | Delete
'subsection' => true,
[571] Fix | Delete
'fields' => array(
[572] Fix | Delete
[573] Fix | Delete
array(
[574] Fix | Delete
'id' => 'header_responsive_breakpoint',
[575] Fix | Delete
'type' => 'slider',
[576] Fix | Delete
'title' => esc_html__( 'Responsive header breakpoint', 'herald' ),
[577] Fix | Delete
'subtitle' => esc_html__( 'Choose exact width of the browser which will trigger responsive header', 'herald' ),
[578] Fix | Delete
'desc' => esc_html__( 'Note: value is in px', 'herald' ),
[579] Fix | Delete
'default' => herald_get_default_option( 'header_responsive_breakpoint' ),
[580] Fix | Delete
'min' => 1024,
[581] Fix | Delete
'step' => 1,
[582] Fix | Delete
'max' => 1249,
[583] Fix | Delete
'display_value' => 'text'
[584] Fix | Delete
),
[585] Fix | Delete
[586] Fix | Delete
array(
[587] Fix | Delete
'id' => 'header_responsive_elements',
[588] Fix | Delete
'type' => 'sortable',
[589] Fix | Delete
'mode' => 'checkbox',
[590] Fix | Delete
'title' => esc_html__( 'Responsive menu elements', 'herald' ),
[591] Fix | Delete
'subtitle' => esc_html__( 'Choose which elements you want to add to your main navigation in responsive/mobile menu', 'herald' ),
[592] Fix | Delete
'options' => array(
[593] Fix | Delete
'secondary-menu-1' => esc_html__( 'Secondary menu 1', 'herald' ),
[594] Fix | Delete
'secondary-menu-2' => esc_html__( 'Secondary menu 2', 'herald' ),
[595] Fix | Delete
'secondary-menu-3' => esc_html__( 'Secondary menu 3', 'herald' ),
[596] Fix | Delete
'social-menu' => esc_html__( 'Social menu', 'herald' ),
[597] Fix | Delete
),
[598] Fix | Delete
'default' => herald_get_default_option( 'header_responsive_elements' ),
[599] Fix | Delete
[600] Fix | Delete
),
[601] Fix | Delete
[602] Fix | Delete
array(
[603] Fix | Delete
'id' => 'header_responsive_actions',
[604] Fix | Delete
'type' => 'sortable',
[605] Fix | Delete
'mode' => 'checkbox',
[606] Fix | Delete
'title' => esc_html__( 'Responsive header actions', 'herald' ),
[607] Fix | Delete
'subtitle' => esc_html__( 'Choose elements you want to display in responsive header', 'herald' ),
[608] Fix | Delete
'options' => herald_get_header_responsive_actions(),
[609] Fix | Delete
'default' => herald_get_default_option( 'header_responsive_actions' ),
[610] Fix | Delete
[611] Fix | Delete
),
[612] Fix | Delete
[613] Fix | Delete
array(
[614] Fix | Delete
'id' => 'header_responsive_group',
[615] Fix | Delete
'type' => 'switch',
[616] Fix | Delete
'title' => esc_html__( 'Group secondary menus on mobile under "more" link ', 'herald' ),
[617] Fix | Delete
'subtitle' => esc_html__( 'Enable this option if you like to display secondary menus grouped within a single "more" link in responsive/mobile menu', 'herald' ),
[618] Fix | Delete
'default' => herald_get_default_option( 'header_responsive_group' ),
[619] Fix | Delete
),
[620] Fix | Delete
[621] Fix | Delete
array(
[622] Fix | Delete
'id' => 'header_ad_responsive',
[623] Fix | Delete
'type' => 'switch',
[624] Fix | Delete
'title' => esc_html__( 'Header ad', 'herald' ),
[625] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display your header ad on mobile devices', 'herald' ),
[626] Fix | Delete
'desc' => esc_html__( 'Note: ad must be added in Header Ad Slot in Theme Options -> Ads', 'herald' ),
[627] Fix | Delete
'default' => herald_get_default_option( 'header_ad_responsive' ),
[628] Fix | Delete
),
[629] Fix | Delete
[630] Fix | Delete
)
[631] Fix | Delete
)
[632] Fix | Delete
);
[633] Fix | Delete
[634] Fix | Delete
/* Mega menu */
[635] Fix | Delete
Redux::setSection( $opt_name , array(
[636] Fix | Delete
'icon' => '',
[637] Fix | Delete
'title' => esc_html__( 'Mega Menu', 'herald' ),
[638] Fix | Delete
'desc' => esc_html__( 'Manage settings for mega menu', 'herald' ),
[639] Fix | Delete
'subsection' => true,
[640] Fix | Delete
'fields' => array(
[641] Fix | Delete
[642] Fix | Delete
array(
[643] Fix | Delete
'id' => 'mega_menu',
[644] Fix | Delete
'type' => 'switch',
[645] Fix | Delete
'title' => esc_html__( 'Enable mega menu', 'herald' ),
[646] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to enable mega menu functionality', 'herald' ),
[647] Fix | Delete
'default' => herald_get_default_option( 'mega_menu' ),
[648] Fix | Delete
),
[649] Fix | Delete
[650] Fix | Delete
array(
[651] Fix | Delete
'id' => 'mega_menu_layout',
[652] Fix | Delete
'type' => 'image_select',
[653] Fix | Delete
'title' => esc_html__( 'Mega menu posts layout', 'herald' ),
[654] Fix | Delete
'subtitle' => esc_html__( 'Choose how to display your posts in mega menu', 'herald' ),
[655] Fix | Delete
'options' => herald_get_main_layouts( false, false, array( 'a', 'a1', 'a2', 'a3', 'b', 'b1', 'c', 'c1', 'd', 'd1', 'e' ) ),
[656] Fix | Delete
'default' => herald_get_default_option( 'mega_menu_layout' ),
[657] Fix | Delete
'required' => array( 'mega_menu', '=', true )
[658] Fix | Delete
),
[659] Fix | Delete
[660] Fix | Delete
array(
[661] Fix | Delete
'id' => 'mega_menu_limit',
[662] Fix | Delete
'type' => 'text',
[663] Fix | Delete
'class' => 'small-text',
[664] Fix | Delete
'title' => esc_html__( 'Number of posts', 'herald' ),
[665] Fix | Delete
'subtitle' => esc_html__( 'Choose max number of posts in mega menu', 'herald' ),
[666] Fix | Delete
'default' => herald_get_default_option( 'mega_menu_limit' ),
[667] Fix | Delete
'validate' => 'numeric',
[668] Fix | Delete
'required' => array( 'mega_menu', '=', true )
[669] Fix | Delete
),
[670] Fix | Delete
[671] Fix | Delete
array(
[672] Fix | Delete
'id' => 'mega_menu_sub_cat',
[673] Fix | Delete
'type' => 'switch',
[674] Fix | Delete
'title' => esc_html__( 'Display child categories', 'herald' ),
[675] Fix | Delete
'subtitle' => esc_html__( 'If you check this option, links to child categories of a current category will be automatically displayed', 'herald' ),
[676] Fix | Delete
'default' => herald_get_default_option( 'mega_menu_sub_cat' ),
[677] Fix | Delete
'required' => array( 'mega_menu', '=', true )
[678] Fix | Delete
),
[679] Fix | Delete
[680] Fix | Delete
)
[681] Fix | Delete
)
[682] Fix | Delete
);
[683] Fix | Delete
[684] Fix | Delete
[685] Fix | Delete
/* Content */
[686] Fix | Delete
Redux::setSection( $opt_name , array(
[687] Fix | Delete
'icon' => 'el-icon-screen',
[688] Fix | Delete
'title' => esc_html__( 'Content', 'herald' ),
[689] Fix | Delete
'desc' => esc_html__( 'Manage your main content styling options', 'herald' ),
[690] Fix | Delete
'fields' => array(
[691] Fix | Delete
[692] Fix | Delete
array(
[693] Fix | Delete
'id' => 'content_layout',
[694] Fix | Delete
'type' => 'image_select',
[695] Fix | Delete
'title' => esc_html__( 'Content layout', 'herald' ),
[696] Fix | Delete
'options' => array(
[697] Fix | Delete
'boxed' => array( 'title' => esc_html__( 'Boxed', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/content_boxed.png' ) ),
[698] Fix | Delete
'wide' => array( 'title' => esc_html__( 'Wide', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/content_full.png' ) ),
[699] Fix | Delete
),
[700] Fix | Delete
'default' => herald_get_default_option( 'content_layout' ),
[701] Fix | Delete
),
[702] Fix | Delete
[703] Fix | Delete
array(
[704] Fix | Delete
'id' => 'body_background',
[705] Fix | Delete
'type' => 'background',
[706] Fix | Delete
'title' => esc_html__( 'Body background', 'herald' ),
[707] Fix | Delete
'subtitle' => esc_html__( 'Setup your body background color, image or pattern', 'herald' ),
[708] Fix | Delete
'default' => herald_get_default_option( 'body_background' ),
[709] Fix | Delete
'required' => array( 'content_layout', '=', 'boxed' )
[710] Fix | Delete
),
[711] Fix | Delete
[712] Fix | Delete
array(
[713] Fix | Delete
'id' => 'color_content_bg',
[714] Fix | Delete
'type' => 'color',
[715] Fix | Delete
'title' => esc_html__( 'Content background color', 'herald' ),
[716] Fix | Delete
'subtitle' => esc_html__( 'Specify main content background color', 'herald' ),
[717] Fix | Delete
'transparent' => false,
[718] Fix | Delete
'default' => herald_get_default_option( 'color_content_bg' ),
[719] Fix | Delete
),
[720] Fix | Delete
[721] Fix | Delete
array(
[722] Fix | Delete
'id' => 'color_content_title',
[723] Fix | Delete
'type' => 'color',
[724] Fix | Delete
'title' => esc_html__( 'Title (heading) color', 'herald' ),
[725] Fix | Delete
'subtitle' => esc_html__( 'This color applies to headings, post/page tiles, widget titles, etc... ', 'herald' ),
[726] Fix | Delete
'transparent' => false,
[727] Fix | Delete
'default' => herald_get_default_option( 'color_content_title' ),
[728] Fix | Delete
),
[729] Fix | Delete
[730] Fix | Delete
array(
[731] Fix | Delete
'id' => 'color_content_txt',
[732] Fix | Delete
'type' => 'color',
[733] Fix | Delete
'title' => esc_html__( 'Text color', 'herald' ),
[734] Fix | Delete
'subtitle' => esc_html__( 'This color applies to standard text', 'herald' ),
[735] Fix | Delete
'transparent' => false,
[736] Fix | Delete
'default' => herald_get_default_option( 'color_content_txt' ),
[737] Fix | Delete
),
[738] Fix | Delete
[739] Fix | Delete
array(
[740] Fix | Delete
'id' => 'color_content_acc',
[741] Fix | Delete
'type' => 'color',
[742] Fix | Delete
'title' => esc_html__( 'Accent color', 'herald' ),
[743] Fix | Delete
'subtitle' => esc_html__( 'This color applies to links, buttons, pagination, etc...', 'herald' ),
[744] Fix | Delete
'transparent' => false,
[745] Fix | Delete
'default' => herald_get_default_option( 'color_content_acc' ),
[746] Fix | Delete
),
[747] Fix | Delete
[748] Fix | Delete
array(
[749] Fix | Delete
'id' => 'color_content_meta',
[750] Fix | Delete
'type' => 'color',
[751] Fix | Delete
'title' => esc_html__( 'Meta color', 'herald' ),
[752] Fix | Delete
'subtitle' => esc_html__( 'This color applies to miscellaneous elements such as meta icons etc...', 'herald' ),
[753] Fix | Delete
'transparent' => false,
[754] Fix | Delete
'default' => herald_get_default_option( 'color_content_meta' ),
[755] Fix | Delete
),
[756] Fix | Delete
)
[757] Fix | Delete
)
[758] Fix | Delete
);
[759] Fix | Delete
[760] Fix | Delete
[761] Fix | Delete
[762] Fix | Delete
[763] Fix | Delete
/* Footer */
[764] Fix | Delete
[765] Fix | Delete
Redux::setSection( $opt_name , array(
[766] Fix | Delete
'icon' => 'el-icon-bookmark-empty',
[767] Fix | Delete
'title' => esc_html__( 'Footer', 'herald' ),
[768] Fix | Delete
'desc' => esc_html__( 'Manage options for your footer area', 'herald' ),
[769] Fix | Delete
'fields' => array(
[770] Fix | Delete
[771] Fix | Delete
array(
[772] Fix | Delete
'id' => 'color_footer_bg',
[773] Fix | Delete
'type' => 'color',
[774] Fix | Delete
'title' => esc_html__( 'Background color', 'herald' ),
[775] Fix | Delete
'subtitle' => esc_html__( 'Specify footer background color', 'herald' ),
[776] Fix | Delete
'transparent' => false,
[777] Fix | Delete
'default' => herald_get_default_option( 'color_footer_bg' ),
[778] Fix | Delete
),
[779] Fix | Delete
[780] Fix | Delete
array(
[781] Fix | Delete
'id' => 'color_footer_txt',
[782] Fix | Delete
'type' => 'color',
[783] Fix | Delete
'title' => esc_html__( 'Text color', 'herald' ),
[784] Fix | Delete
'subtitle' => esc_html__( 'This is the standard text color for footer', 'herald' ),
[785] Fix | Delete
'transparent' => false,
[786] Fix | Delete
'default' => herald_get_default_option( 'color_footer_txt' ),
[787] Fix | Delete
),
[788] Fix | Delete
[789] Fix | Delete
array(
[790] Fix | Delete
'id' => 'color_footer_acc',
[791] Fix | Delete
'type' => 'color',
[792] Fix | Delete
'title' => esc_html__( 'Accent color', 'herald' ),
[793] Fix | Delete
'subtitle' => esc_html__( 'This color will apply to buttons, links, etc...', 'herald' ),
[794] Fix | Delete
'transparent' => false,
[795] Fix | Delete
'default' => herald_get_default_option( 'color_footer_acc' ),
[796] Fix | Delete
),
[797] Fix | Delete
[798] Fix | Delete
array(
[799] Fix | Delete
'id' => 'color_footer_meta',
[800] Fix | Delete
'type' => 'color',
[801] Fix | Delete
'title' => esc_html__( 'Meta color', 'herald' ),
[802] Fix | Delete
'subtitle' => esc_html__( 'This color will apply to miscellaneous text like date, number of views, etc...', 'herald' ),
[803] Fix | Delete
'transparent' => false,
[804] Fix | Delete
'default' => herald_get_default_option( 'color_footer_meta' ),
[805] Fix | Delete
),
[806] Fix | Delete
[807] Fix | Delete
array(
[808] Fix | Delete
'id' => 'footer_widgets',
[809] Fix | Delete
'type' => 'switch',
[810] Fix | Delete
'switch' => true,
[811] Fix | Delete
'title' => esc_html__( 'Display footer widgetized area', 'herald' ),
[812] Fix | Delete
'subtitle' => wp_kses_post( sprintf( __( 'Check if you want to include footer widgetized area in your theme. You can manage the footer content in the <a href="%s">Apperance -> Widgets</a> settings.', 'herald' ), admin_url( 'widgets.php' ) ) ),
[813] Fix | Delete
'default' => herald_get_default_option( 'footer_widgets' ),
[814] Fix | Delete
),
[815] Fix | Delete
[816] Fix | Delete
array(
[817] Fix | Delete
'id' => 'footer_layout',
[818] Fix | Delete
'type' => 'image_select',
[819] Fix | Delete
'title' => esc_html__( 'Footer columns', 'herald' ),
[820] Fix | Delete
'subtitle' => esc_html__( 'Choose number of columns to display in footer area', 'herald' ),
[821] Fix | Delete
'desc' => wp_kses_post( sprintf( __( 'Note: Each column represents one Footer Sidebar in <a href="%s">Apperance -> Widgets</a> settings.', 'herald' ), admin_url( 'widgets.php' ) ) ),
[822] Fix | Delete
'options' => array(
[823] Fix | Delete
'1_12' => array( 'title' => esc_html__( '1 Column', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/footer_col_1.png' ) ),
[824] Fix | Delete
'2_6' => array( 'title' => esc_html__( '2 Columns', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/footer_col_2.png' ) ),
[825] Fix | Delete
'3_4' => array( 'title' => esc_html__( '3 Columns', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/footer_col_3.png' ) ),
[826] Fix | Delete
'4_3' => array( 'title' => esc_html__( '4 Columns', 'herald' ), 'img' => get_parent_theme_file_uri( '/assets/img/admin/footer_col_4.png' ) )
[827] Fix | Delete
),
[828] Fix | Delete
'default' => herald_get_default_option( 'footer_layout' ),
[829] Fix | Delete
'required' => array( 'footer_widgets', '=', true )
[830] Fix | Delete
),
[831] Fix | Delete
[832] Fix | Delete
array(
[833] Fix | Delete
'id' => 'footer_bottom',
[834] Fix | Delete
'type' => 'switch',
[835] Fix | Delete
'title' => esc_html__( 'Display footer bottom bar', 'herald' ),
[836] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display footer bottom bar', 'herald' ),
[837] Fix | Delete
'default' => herald_get_default_option( 'footer_bottom' ),
[838] Fix | Delete
),
[839] Fix | Delete
[840] Fix | Delete
array(
[841] Fix | Delete
'id' => 'footer_copyright',
[842] Fix | Delete
'type' => 'editor',
[843] Fix | Delete
'title' => esc_html__( 'Copyright', 'herald' ),
[844] Fix | Delete
'subtitle' => esc_html__( 'Specify the copyright text to show at the bottom of the website', 'herald' ),
[845] Fix | Delete
'default' => herald_get_default_option( 'footer_copyright' ),
[846] Fix | Delete
'args' => array(
[847] Fix | Delete
'textarea_rows' => 3 ,
[848] Fix | Delete
'default_editor' => 'html'
[849] Fix | Delete
),
[850] Fix | Delete
'required' => array( 'footer_bottom', '=', true )
[851] Fix | Delete
),
[852] Fix | Delete
[853] Fix | Delete
array(
[854] Fix | Delete
'id' => 'footer_left',
[855] Fix | Delete
'type' => 'sortable',
[856] Fix | Delete
'mode' => 'checkbox',
[857] Fix | Delete
'title' => esc_html__( 'Left slot', 'herald' ),
[858] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in left slot', 'herald' ),
[859] Fix | Delete
'options' => herald_get_footer_elements( 'left' ),
[860] Fix | Delete
'default' => herald_get_default_option( 'footer_left' ),
[861] Fix | Delete
'required' => array( 'footer_bottom', '=', true )
[862] Fix | Delete
),
[863] Fix | Delete
[864] Fix | Delete
array(
[865] Fix | Delete
'id' => 'footer_center',
[866] Fix | Delete
'type' => 'sortable',
[867] Fix | Delete
'mode' => 'checkbox',
[868] Fix | Delete
'title' => esc_html__( 'Center slot', 'herald' ),
[869] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in center slot', 'herald' ),
[870] Fix | Delete
'options' => herald_get_footer_elements( 'center' ),
[871] Fix | Delete
'default' => herald_get_default_option( 'footer_center' ),
[872] Fix | Delete
'required' => array( 'footer_bottom', '=', true )
[873] Fix | Delete
),
[874] Fix | Delete
[875] Fix | Delete
array(
[876] Fix | Delete
'id' => 'footer_right',
[877] Fix | Delete
'type' => 'sortable',
[878] Fix | Delete
'mode' => 'checkbox',
[879] Fix | Delete
'title' => esc_html__( 'Right slot', 'herald' ),
[880] Fix | Delete
'subtitle' => esc_html__( 'Check which elements to add in right slot', 'herald' ),
[881] Fix | Delete
'options' => herald_get_footer_elements( 'right' ),
[882] Fix | Delete
'default' => herald_get_default_option( 'footer_right' ),
[883] Fix | Delete
'required' => array( 'footer_bottom', '=', true )
[884] Fix | Delete
),
[885] Fix | Delete
)
[886] Fix | Delete
)
[887] Fix | Delete
);
[888] Fix | Delete
[889] Fix | Delete
/* Sidebars */
[890] Fix | Delete
Redux::setSection( $opt_name , array(
[891] Fix | Delete
'icon' => ' el-icon-list',
[892] Fix | Delete
'title' => esc_html__( 'Sidebars', 'herald' ),
[893] Fix | Delete
'class' => 'sidgen',
[894] Fix | Delete
'desc' => wp_kses( sprintf( __( 'Use this panel to generate additional sidebars. You can manage sidebars content in the <a href="%s">Apperance -> Widgets</a> settings.', 'herald' ), admin_url( 'widgets.php' ) ), wp_kses_allowed_html( 'post' ) ),
[895] Fix | Delete
'fields' => array(
[896] Fix | Delete
[897] Fix | Delete
array(
[898] Fix | Delete
'id' => 'sidebars',
[899] Fix | Delete
'type' => 'sidgen',
[900] Fix | Delete
'title' => '',
[901] Fix | Delete
'default' => herald_get_default_option( 'sidebars' )
[902] Fix | Delete
),
[903] Fix | Delete
)
[904] Fix | Delete
)
[905] Fix | Delete
);
[906] Fix | Delete
[907] Fix | Delete
/* Layout settings */
[908] Fix | Delete
Redux::setSection( $opt_name , array(
[909] Fix | Delete
'icon' => 'el-icon-th-large',
[910] Fix | Delete
'title' => esc_html__( 'Main Layouts', 'herald' ),
[911] Fix | Delete
'heading' => false,
[912] Fix | Delete
'fields' => array(
[913] Fix | Delete
)
[914] Fix | Delete
)
[915] Fix | Delete
);
[916] Fix | Delete
[917] Fix | Delete
[918] Fix | Delete
/* Layout A */
[919] Fix | Delete
Redux::setSection( $opt_name , array(
[920] Fix | Delete
'icon' => '',
[921] Fix | Delete
'title' => esc_html__( 'Layout A', 'herald' ),
[922] Fix | Delete
'heading' => false,
[923] Fix | Delete
'subsection' => true,
[924] Fix | Delete
'fields' => array(
[925] Fix | Delete
array(
[926] Fix | Delete
'id' => 'section_layout_a',
[927] Fix | Delete
'type' => 'herald_section',
[928] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_a.png' ) ).'"/>'.esc_html__( 'Layout A', 'herald' ),
[929] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout A', 'herald' ),
[930] Fix | Delete
'indent' => false
[931] Fix | Delete
),
[932] Fix | Delete
[933] Fix | Delete
array(
[934] Fix | Delete
'id' => 'lay_a_cat',
[935] Fix | Delete
'type' => 'switch',
[936] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[937] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout A', 'herald' ),
[938] Fix | Delete
'default' => herald_get_default_option( 'lay_a_cat' ),
[939] Fix | Delete
),
[940] Fix | Delete
[941] Fix | Delete
array(
[942] Fix | Delete
'id' => 'lay_a_meta',
[943] Fix | Delete
'type' => 'sortable',
[944] Fix | Delete
'mode' => 'checkbox',
[945] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[946] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout A', 'herald' ),
[947] Fix | Delete
'options' => herald_get_meta_opts(),
[948] Fix | Delete
'default' => herald_get_default_option( 'lay_a_meta' ),
[949] Fix | Delete
),
[950] Fix | Delete
[951] Fix | Delete
array(
[952] Fix | Delete
'id' => 'lay_a_content',
[953] Fix | Delete
'type' => 'radio',
[954] Fix | Delete
'title' => esc_html__( 'Layout A content type', 'herald' ),
[955] Fix | Delete
'options' => array(
[956] Fix | Delete
'excerpt' => esc_html__( 'Excerpt (automatically limit number of characters)', 'herald' ),
[957] Fix | Delete
'content' => esc_html__( 'Full content (optionally split with "<--more-->" tag)', 'herald' ),
[958] Fix | Delete
'none' => esc_html__( 'None', 'herald' )
[959] Fix | Delete
),
[960] Fix | Delete
'subtitle' => esc_html__( 'Choose content type', 'herald' ),
[961] Fix | Delete
'default' => herald_get_default_option( 'lay_a_content' ),
[962] Fix | Delete
),
[963] Fix | Delete
[964] Fix | Delete
array(
[965] Fix | Delete
'id' => 'lay_a_excerpt_limit',
[966] Fix | Delete
'type' => 'text',
[967] Fix | Delete
'class' => 'small-text',
[968] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[969] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[970] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[971] Fix | Delete
'default' => herald_get_default_option( 'lay_a_excerpt_limit' ),
[972] Fix | Delete
'validate' => 'numeric',
[973] Fix | Delete
'required' => array( 'lay_a_excerpt_limit', '=', 'excerpt' )
[974] Fix | Delete
),
[975] Fix | Delete
[976] Fix | Delete
array(
[977] Fix | Delete
'id' => 'lay_a_rm',
[978] Fix | Delete
'type' => 'switch',
[979] Fix | Delete
'title' => esc_html__( 'Read more link', 'herald' ),
[980] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to enable read more link for Layout A', 'herald' ),
[981] Fix | Delete
'default' => herald_get_default_option( 'lay_a_rm' ),
[982] Fix | Delete
),
[983] Fix | Delete
[984] Fix | Delete
array(
[985] Fix | Delete
'id' => 'img_size_lay_a_ratio',
[986] Fix | Delete
'type' => 'radio',
[987] Fix | Delete
'title' => esc_html__( 'Layout A image ratio', 'herald' ),
[988] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout A', 'herald' ),
[989] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[990] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_a_ratio' ),
[991] Fix | Delete
),
[992] Fix | Delete
[993] Fix | Delete
array(
[994] Fix | Delete
'id' => 'img_size_lay_a_custom',
[995] Fix | Delete
'type' => 'text',
[996] Fix | Delete
'class' => 'small-text',
[997] Fix | Delete
'title' => esc_html__( 'Layout A image custom ratio', 'herald' ),
[998] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout A images', 'herald' ),
[999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function