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
[2500] Fix | Delete
array(
[2501] Fix | Delete
'id' => 'lay_fa2_excerpt_limit',
[2502] Fix | Delete
'type' => 'text',
[2503] Fix | Delete
'class' => 'small-text',
[2504] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[2505] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[2506] Fix | Delete
'default' => herald_get_default_option( 'lay_fa2_excerpt_limit' ),
[2507] Fix | Delete
'validate' => 'numeric',
[2508] Fix | Delete
'required' => array( 'lay_fa2_excerpt', '=', true )
[2509] Fix | Delete
),
[2510] Fix | Delete
[2511] Fix | Delete
array(
[2512] Fix | Delete
'id' => 'lay_fa2_color',
[2513] Fix | Delete
'type' => 'switch',
[2514] Fix | Delete
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
[2515] Fix | Delete
'default' => herald_get_default_option( 'lay_fa2_color' ),
[2516] Fix | Delete
),
[2517] Fix | Delete
[2518] Fix | Delete
)
[2519] Fix | Delete
)
[2520] Fix | Delete
);
[2521] Fix | Delete
[2522] Fix | Delete
/* FA Layout 3 */
[2523] Fix | Delete
Redux::setSection( $opt_name , array(
[2524] Fix | Delete
'icon' => '',
[2525] Fix | Delete
'title' => esc_html__( 'Layout 3', 'herald' ),
[2526] Fix | Delete
'heading' => false,
[2527] Fix | Delete
'subsection' => true,
[2528] Fix | Delete
'fields' => array(
[2529] Fix | Delete
[2530] Fix | Delete
array(
[2531] Fix | Delete
'id' => 'section_layout_fa3',
[2532] Fix | Delete
'type' => 'herald_section',
[2533] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa3.png' ) ).'"/>'.esc_html__( 'Layout 3', 'herald' ),
[2534] Fix | Delete
'subtitle' => esc_html__( 'Manage options for featured area Layout 3', 'herald' ),
[2535] Fix | Delete
'indent' => false
[2536] Fix | Delete
),
[2537] Fix | Delete
[2538] Fix | Delete
array(
[2539] Fix | Delete
'id' => 'lay_fa3_cat',
[2540] Fix | Delete
'type' => 'switch',
[2541] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2542] Fix | Delete
'default' => herald_get_default_option( 'lay_fa3_cat' ),
[2543] Fix | Delete
),
[2544] Fix | Delete
[2545] Fix | Delete
array(
[2546] Fix | Delete
'id' => 'lay_fa3_meta',
[2547] Fix | Delete
'type' => 'sortable',
[2548] Fix | Delete
'mode' => 'checkbox',
[2549] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2550] Fix | Delete
'options' => herald_get_meta_opts(),
[2551] Fix | Delete
'default' => herald_get_default_option( 'lay_fa3_meta' ),
[2552] Fix | Delete
),
[2553] Fix | Delete
[2554] Fix | Delete
array(
[2555] Fix | Delete
'id' => 'lay_fa3_excerpt',
[2556] Fix | Delete
'type' => 'switch',
[2557] Fix | Delete
'title' => esc_html__( 'Display text excerpt', 'herald' ),
[2558] Fix | Delete
'default' => herald_get_default_option( 'lay_fa3_excerpt' ),
[2559] Fix | Delete
),
[2560] Fix | Delete
[2561] Fix | Delete
[2562] Fix | Delete
array(
[2563] Fix | Delete
'id' => 'lay_fa3_excerpt_limit',
[2564] Fix | Delete
'type' => 'text',
[2565] Fix | Delete
'class' => 'small-text',
[2566] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[2567] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[2568] Fix | Delete
'default' => herald_get_default_option( 'lay_fa3_excerpt_limit' ),
[2569] Fix | Delete
'validate' => 'numeric',
[2570] Fix | Delete
'required' => array( 'lay_fa3_excerpt', '=', true )
[2571] Fix | Delete
),
[2572] Fix | Delete
[2573] Fix | Delete
array(
[2574] Fix | Delete
'id' => 'lay_fa3_color',
[2575] Fix | Delete
'type' => 'switch',
[2576] Fix | Delete
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
[2577] Fix | Delete
'default' => herald_get_default_option( 'lay_fa3_color' ),
[2578] Fix | Delete
),
[2579] Fix | Delete
[2580] Fix | Delete
)
[2581] Fix | Delete
)
[2582] Fix | Delete
);
[2583] Fix | Delete
[2584] Fix | Delete
/* FA Layout 4 */
[2585] Fix | Delete
Redux::setSection( $opt_name , array(
[2586] Fix | Delete
'icon' => '',
[2587] Fix | Delete
'title' => esc_html__( 'Layout 4', 'herald' ),
[2588] Fix | Delete
'heading' => false,
[2589] Fix | Delete
'subsection' => true,
[2590] Fix | Delete
'fields' => array(
[2591] Fix | Delete
[2592] Fix | Delete
array(
[2593] Fix | Delete
'id' => 'section_layout_fa4',
[2594] Fix | Delete
'type' => 'herald_section',
[2595] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa4.png' ) ).'"/>'.esc_html__( 'Layout 4', 'herald' ),
[2596] Fix | Delete
'subtitle' => esc_html__( 'Manage options for featured area Layout 4', 'herald' ),
[2597] Fix | Delete
'indent' => false
[2598] Fix | Delete
),
[2599] Fix | Delete
[2600] Fix | Delete
array(
[2601] Fix | Delete
'id' => 'lay_fa4_cat',
[2602] Fix | Delete
'type' => 'switch',
[2603] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2604] Fix | Delete
'default' => herald_get_default_option( 'lay_fa4_cat' ),
[2605] Fix | Delete
),
[2606] Fix | Delete
[2607] Fix | Delete
array(
[2608] Fix | Delete
'id' => 'lay_fa4_meta',
[2609] Fix | Delete
'type' => 'sortable',
[2610] Fix | Delete
'mode' => 'checkbox',
[2611] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2612] Fix | Delete
'options' => herald_get_meta_opts(),
[2613] Fix | Delete
'default' => herald_get_default_option( 'lay_fa4_meta' ),
[2614] Fix | Delete
),
[2615] Fix | Delete
[2616] Fix | Delete
array(
[2617] Fix | Delete
'id' => 'lay_fa4_excerpt',
[2618] Fix | Delete
'type' => 'switch',
[2619] Fix | Delete
'title' => esc_html__( 'Display text excerpt', 'herald' ),
[2620] Fix | Delete
'default' => herald_get_default_option( 'lay_fa4_excerpt' ),
[2621] Fix | Delete
),
[2622] Fix | Delete
[2623] Fix | Delete
[2624] Fix | Delete
array(
[2625] Fix | Delete
'id' => 'lay_fa4_excerpt_limit',
[2626] Fix | Delete
'type' => 'text',
[2627] Fix | Delete
'class' => 'small-text',
[2628] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[2629] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[2630] Fix | Delete
'default' => herald_get_default_option( 'lay_fa4_excerpt_limit' ),
[2631] Fix | Delete
'validate' => 'numeric',
[2632] Fix | Delete
'required' => array( 'lay_fa4_excerpt', '=', true )
[2633] Fix | Delete
),
[2634] Fix | Delete
[2635] Fix | Delete
array(
[2636] Fix | Delete
'id' => 'lay_fa4_color',
[2637] Fix | Delete
'type' => 'switch',
[2638] Fix | Delete
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
[2639] Fix | Delete
'default' => herald_get_default_option( 'lay_fa4_color' ),
[2640] Fix | Delete
),
[2641] Fix | Delete
[2642] Fix | Delete
)
[2643] Fix | Delete
)
[2644] Fix | Delete
);
[2645] Fix | Delete
[2646] Fix | Delete
/* FA Layout 5 */
[2647] Fix | Delete
Redux::setSection( $opt_name , array(
[2648] Fix | Delete
'icon' => '',
[2649] Fix | Delete
'title' => esc_html__( 'Layout 5', 'herald' ),
[2650] Fix | Delete
'heading' => false,
[2651] Fix | Delete
'subsection' => true,
[2652] Fix | Delete
'fields' => array(
[2653] Fix | Delete
[2654] Fix | Delete
array(
[2655] Fix | Delete
'id' => 'section_layout_fa5',
[2656] Fix | Delete
'type' => 'herald_section',
[2657] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa5.png' ) ).'"/>'.esc_html__( 'Layout 5', 'herald' ),
[2658] Fix | Delete
'subtitle' => esc_html__( 'Manage options for featured area Layout 5', 'herald' ),
[2659] Fix | Delete
'indent' => false
[2660] Fix | Delete
),
[2661] Fix | Delete
[2662] Fix | Delete
array(
[2663] Fix | Delete
'id' => 'lay_fa5_cat',
[2664] Fix | Delete
'type' => 'switch',
[2665] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2666] Fix | Delete
'default' => herald_get_default_option( 'lay_fa5_cat' ),
[2667] Fix | Delete
),
[2668] Fix | Delete
[2669] Fix | Delete
array(
[2670] Fix | Delete
'id' => 'lay_fa5_meta',
[2671] Fix | Delete
'type' => 'sortable',
[2672] Fix | Delete
'mode' => 'checkbox',
[2673] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2674] Fix | Delete
'options' => herald_get_meta_opts(),
[2675] Fix | Delete
'default' => herald_get_default_option( 'lay_fa5_meta' ),
[2676] Fix | Delete
)
[2677] Fix | Delete
)
[2678] Fix | Delete
)
[2679] Fix | Delete
);
[2680] Fix | Delete
[2681] Fix | Delete
/* Single Post */
[2682] Fix | Delete
Redux::setSection( $opt_name , array(
[2683] Fix | Delete
'icon' => 'el-icon-pencil',
[2684] Fix | Delete
'title' => esc_html__( 'Single Post', 'herald' ),
[2685] Fix | Delete
'heading' => false,
[2686] Fix | Delete
'fields' => array(
[2687] Fix | Delete
)
[2688] Fix | Delete
)
[2689] Fix | Delete
);
[2690] Fix | Delete
[2691] Fix | Delete
/* Single - Layout */
[2692] Fix | Delete
Redux::setSection( $opt_name , array(
[2693] Fix | Delete
'icon' => '',
[2694] Fix | Delete
'title' => esc_html__( 'Layout', 'herald' ),
[2695] Fix | Delete
'heading' => false,
[2696] Fix | Delete
'subsection' => true,
[2697] Fix | Delete
'fields' => array(
[2698] Fix | Delete
[2699] Fix | Delete
array(
[2700] Fix | Delete
'id' => 'section_single_layout',
[2701] Fix | Delete
'type' => 'section',
[2702] Fix | Delete
'title' => esc_html__( 'Layout', 'herald' ),
[2703] Fix | Delete
'subtitle' => esc_html__( 'Manage your default layout and sidebar options for single posts', 'herald' ),
[2704] Fix | Delete
'indent' => false
[2705] Fix | Delete
),
[2706] Fix | Delete
[2707] Fix | Delete
array(
[2708] Fix | Delete
'id' => 'single_layout',
[2709] Fix | Delete
'type' => 'image_select',
[2710] Fix | Delete
'title' => esc_html__( 'Single post layout', 'herald' ),
[2711] Fix | Delete
'subtitle' => esc_html__( 'Choose a default layout for single posts', 'herald' ),
[2712] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each specific post', 'herald' ),
[2713] Fix | Delete
'options' => herald_get_single_layouts(),
[2714] Fix | Delete
'default' => herald_get_default_option( 'single_layout' ),
[2715] Fix | Delete
),
[2716] Fix | Delete
[2717] Fix | Delete
array(
[2718] Fix | Delete
'id' => 'single_use_sidebar',
[2719] Fix | Delete
'type' => 'image_select',
[2720] Fix | Delete
'title' => esc_html__( 'Display sidebar', 'herald' ),
[2721] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each particular post', 'herald' ),
[2722] Fix | Delete
'options' => herald_get_sidebar_layouts(),
[2723] Fix | Delete
'default' => herald_get_default_option( 'single_use_sidebar' ),
[2724] Fix | Delete
),
[2725] Fix | Delete
[2726] Fix | Delete
array(
[2727] Fix | Delete
'id' => 'single_sidebar',
[2728] Fix | Delete
'type' => 'select',
[2729] Fix | Delete
'title' => esc_html__( 'Post standard sidebar', 'herald' ),
[2730] Fix | Delete
'subtitle' => esc_html__( 'Choose a single post standard sidebar', 'herald' ),
[2731] Fix | Delete
'options' => herald_get_sidebars_list(),
[2732] Fix | Delete
'default' => herald_get_default_option( 'single_sidebar' ),
[2733] Fix | Delete
'required' => array( 'single_use_sidebar', '!=', 'none' )
[2734] Fix | Delete
),
[2735] Fix | Delete
[2736] Fix | Delete
array(
[2737] Fix | Delete
'id' => 'single_sticky_sidebar',
[2738] Fix | Delete
'type' => 'select',
[2739] Fix | Delete
'title' => esc_html__( 'Post sticky sidebar', 'herald' ),
[2740] Fix | Delete
'subtitle' => esc_html__( 'Choose a single post sticky sidebar', 'herald' ),
[2741] Fix | Delete
'options' => herald_get_sidebars_list(),
[2742] Fix | Delete
'default' => herald_get_default_option( 'single_sticky_sidebar' ),
[2743] Fix | Delete
'required' => array( 'single_use_sidebar', '!=', 'none' )
[2744] Fix | Delete
),
[2745] Fix | Delete
)
[2746] Fix | Delete
)
[2747] Fix | Delete
);
[2748] Fix | Delete
[2749] Fix | Delete
/* Single - Content */
[2750] Fix | Delete
Redux::setSection( $opt_name , array(
[2751] Fix | Delete
'icon' => '',
[2752] Fix | Delete
'title' => esc_html__( 'Content', 'herald' ),
[2753] Fix | Delete
'heading' => false,
[2754] Fix | Delete
'subsection' => true,
[2755] Fix | Delete
'fields' => array(
[2756] Fix | Delete
[2757] Fix | Delete
array(
[2758] Fix | Delete
'id' => 'section_single_content',
[2759] Fix | Delete
'type' => 'section',
[2760] Fix | Delete
'title' => esc_html__( 'Content', 'herald' ),
[2761] Fix | Delete
'subtitle' => esc_html__( 'Manage options for single post content', 'herald' ),
[2762] Fix | Delete
'indent' => false
[2763] Fix | Delete
),
[2764] Fix | Delete
[2765] Fix | Delete
array(
[2766] Fix | Delete
'id' => 'single_cat',
[2767] Fix | Delete
'type' => 'switch',
[2768] Fix | Delete
'title' => esc_html__( 'Display category link', 'herald' ),
[2769] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link', 'herald' ),
[2770] Fix | Delete
'default' => herald_get_default_option( 'single_cat' ),
[2771] Fix | Delete
),
[2772] Fix | Delete
[2773] Fix | Delete
array(
[2774] Fix | Delete
'id' => 'lay_single_meta',
[2775] Fix | Delete
'type' => 'sortable',
[2776] Fix | Delete
'mode' => 'checkbox',
[2777] Fix | Delete
'title' => esc_html__( 'Meta data ( list )', 'herald' ),
[2778] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for single posts', 'herald' ),
[2779] Fix | Delete
'options' => herald_get_meta_opts(),
[2780] Fix | Delete
'default' => herald_get_default_option( 'lay_single_meta' ),
[2781] Fix | Delete
),
[2782] Fix | Delete
[2783] Fix | Delete
array(
[2784] Fix | Delete
'id' => 'single_fimg',
[2785] Fix | Delete
'type' => 'switch',
[2786] Fix | Delete
'title' => esc_html__( 'Display featured image', 'herald' ),
[2787] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display the featured image', 'herald' ),
[2788] Fix | Delete
'default' => herald_get_default_option( 'single_fimg' ),
[2789] Fix | Delete
),
[2790] Fix | Delete
[2791] Fix | Delete
array(
[2792] Fix | Delete
'id' => 'single_fimg_cap',
[2793] Fix | Delete
'type' => 'switch',
[2794] Fix | Delete
'title' => esc_html__( 'Display featured image caption', 'herald' ),
[2795] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a caption/description on the featured image', 'herald' ),
[2796] Fix | Delete
'default' => herald_get_default_option( 'single_fimg_cap' ),
[2797] Fix | Delete
'required' => array( 'single_fimg', '=', true )
[2798] Fix | Delete
),
[2799] Fix | Delete
[2800] Fix | Delete
array(
[2801] Fix | Delete
'id' => 'img_size_lay_single_ratio',
[2802] Fix | Delete
'type' => 'radio',
[2803] Fix | Delete
'title' => esc_html__( 'Featured image ratio', 'herald' ),
[2804] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio', 'herald' ),
[2805] Fix | Delete
'options' => herald_get_image_ratio_opts( true ),
[2806] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_single_ratio' ),
[2807] Fix | Delete
),
[2808] Fix | Delete
[2809] Fix | Delete
array(
[2810] Fix | Delete
'id' => 'img_size_lay_single_custom',
[2811] Fix | Delete
'type' => 'text',
[2812] Fix | Delete
'class' => 'small-text',
[2813] Fix | Delete
'title' => esc_html__( 'Featured image custom ratio', 'herald' ),
[2814] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio ', 'herald' ),
[2815] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2816] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_single_custom' ),
[2817] Fix | Delete
'required' => array( 'img_size_lay_single_ratio', '=', 'custom' ),
[2818] Fix | Delete
),
[2819] Fix | Delete
[2820] Fix | Delete
array(
[2821] Fix | Delete
'id' => 'single_headline',
[2822] Fix | Delete
'type' => 'switch',
[2823] Fix | Delete
'title' => esc_html__( 'Display headline (excerpt)', 'herald' ),
[2824] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display post excerpt at the begining of post', 'herald' ),
[2825] Fix | Delete
'default' => herald_get_default_option( 'single_headline' ),
[2826] Fix | Delete
),
[2827] Fix | Delete
[2828] Fix | Delete
array(
[2829] Fix | Delete
'id' => 'single_tags',
[2830] Fix | Delete
'type' => 'switch',
[2831] Fix | Delete
'title' => esc_html__( 'Display tags', 'herald' ),
[2832] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display tags below the post content', 'herald' ),
[2833] Fix | Delete
'default' => herald_get_default_option( 'single_tags' ),
[2834] Fix | Delete
),
[2835] Fix | Delete
)
[2836] Fix | Delete
)
[2837] Fix | Delete
);
[2838] Fix | Delete
[2839] Fix | Delete
/* Single - Meta */
[2840] Fix | Delete
Redux::setSection( $opt_name , array(
[2841] Fix | Delete
'icon' => '',
[2842] Fix | Delete
'title' => esc_html__( 'Meta bar', 'herald' ),
[2843] Fix | Delete
'heading' => false,
[2844] Fix | Delete
'subsection' => true,
[2845] Fix | Delete
'fields' => array(
[2846] Fix | Delete
[2847] Fix | Delete
array(
[2848] Fix | Delete
'id' => 'section_single_meta',
[2849] Fix | Delete
'type' => 'section',
[2850] Fix | Delete
'title' => esc_html__( 'Meta bar', 'herald' ),
[2851] Fix | Delete
'subtitle' => esc_html__( 'Manage options for vertical meta bar on single posts', 'herald' ),
[2852] Fix | Delete
'indent' => false
[2853] Fix | Delete
),
[2854] Fix | Delete
[2855] Fix | Delete
array(
[2856] Fix | Delete
'id' => 'single_meta_bar_position',
[2857] Fix | Delete
'type' => 'image_select',
[2858] Fix | Delete
'title' => esc_html__( 'Meta bar layout', 'herald' ),
[2859] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each particular post', 'herald' ),
[2860] Fix | Delete
'options' => herald_get_meta_bar_layouts(),
[2861] Fix | Delete
'default' => herald_get_default_option( 'single_meta_bar_position' ),
[2862] Fix | Delete
),
[2863] Fix | Delete
[2864] Fix | Delete
array(
[2865] Fix | Delete
'id' => 'single_meta_bar_sticky',
[2866] Fix | Delete
'type' => 'switch',
[2867] Fix | Delete
'title' => esc_html__( 'Make meta bar sticky ', 'herald' ),
[2868] Fix | Delete
'subtitle' => esc_html__( 'Check this option if you want meta bar to stick to top while scrolling', 'herald' ),
[2869] Fix | Delete
'default' => herald_get_default_option( 'single_meta_bar_sticky' ),
[2870] Fix | Delete
),
[2871] Fix | Delete
[2872] Fix | Delete
[2873] Fix | Delete
array(
[2874] Fix | Delete
'id' => 'single_avatar',
[2875] Fix | Delete
'type' => 'switch',
[2876] Fix | Delete
'title' => esc_html__( 'Display author image', 'herald' ),
[2877] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display author avatar', 'herald' ),
[2878] Fix | Delete
'default' => herald_get_default_option( 'single_avatar' ),
[2879] Fix | Delete
),
[2880] Fix | Delete
[2881] Fix | Delete
array(
[2882] Fix | Delete
'id' => 'single_author_social_links',
[2883] Fix | Delete
'type' => 'sortable',
[2884] Fix | Delete
'mode' => 'checkbox',
[2885] Fix | Delete
'title' => esc_html__( 'Author social links', 'herald' ),
[2886] Fix | Delete
'subtitle' => esc_html__( 'Check which social links you want to display below the author avatar', 'herald' ),
[2887] Fix | Delete
'desc' => esc_html__( 'Note: The social URLs for each author must be present in its profile settings', 'herald' ),
[2888] Fix | Delete
'options' => herald_get_author_social_opts(),
[2889] Fix | Delete
'default' => herald_get_default_option( 'single_author_social_links' ),
[2890] Fix | Delete
'required' => array( 'single_avatar', '=', true )
[2891] Fix | Delete
),
[2892] Fix | Delete
[2893] Fix | Delete
array(
[2894] Fix | Delete
'id' => 'lay_single_big_meta',
[2895] Fix | Delete
'type' => 'sortable',
[2896] Fix | Delete
'mode' => 'checkbox',
[2897] Fix | Delete
'title' => esc_html__( 'Meta data ( big )', 'herald' ),
[2898] Fix | Delete
'subtitle' => esc_html__( 'Check what big meta data to show for single posts', 'herald' ),
[2899] Fix | Delete
'options' => herald_get_meta_opts(),
[2900] Fix | Delete
'default' => herald_get_default_option( 'lay_single_big_meta' ),
[2901] Fix | Delete
),
[2902] Fix | Delete
[2903] Fix | Delete
array(
[2904] Fix | Delete
'id' => 'single_share',
[2905] Fix | Delete
'type' => 'switch',
[2906] Fix | Delete
'title' => esc_html__( 'Display share icon', 'herald' ),
[2907] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display share icon', 'herald' ),
[2908] Fix | Delete
'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' ) ) ) : '',
[2909] Fix | Delete
'default' => herald_get_default_option( 'single_share' ),
[2910] Fix | Delete
),
[2911] Fix | Delete
[2912] Fix | Delete
array(
[2913] Fix | Delete
'id' => 'single_meta_ad',
[2914] Fix | Delete
'type' => 'radio',
[2915] Fix | Delete
'title' => esc_html__( 'Display ad', 'herald' ),
[2916] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display ad inside meta bar', 'herald' ),
[2917] Fix | Delete
'options' => array(
[2918] Fix | Delete
'top' => esc_html__( 'At the top of meta bar', 'herald' ),
[2919] Fix | Delete
'bottom' => esc_html__( 'At the bottom of meta bar', 'herald' ),
[2920] Fix | Delete
'none' => esc_html__( 'Do not display', 'herald' ),
[2921] Fix | Delete
),
[2922] Fix | Delete
'default' => herald_get_default_option( 'single_meta_ad' ),
[2923] Fix | Delete
),
[2924] Fix | Delete
)
[2925] Fix | Delete
)
[2926] Fix | Delete
);
[2927] Fix | Delete
[2928] Fix | Delete
/* Single - Extras */
[2929] Fix | Delete
Redux::setSection( $opt_name , array(
[2930] Fix | Delete
'icon' => '',
[2931] Fix | Delete
'title' => esc_html__( 'Extras', 'herald' ),
[2932] Fix | Delete
'heading' => false,
[2933] Fix | Delete
'subsection' => true,
[2934] Fix | Delete
'fields' => array(
[2935] Fix | Delete
[2936] Fix | Delete
array(
[2937] Fix | Delete
'id' => 'single_author',
[2938] Fix | Delete
'type' => 'switch',
[2939] Fix | Delete
'title' => esc_html__( 'Display author area', 'herald' ),
[2940] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display the "about the author" area.', 'herald' ),
[2941] Fix | Delete
'default' => herald_get_default_option( 'single_author' ),
[2942] Fix | Delete
),
[2943] Fix | Delete
[2944] Fix | Delete
array(
[2945] Fix | Delete
'id' => 'single_share_content',
[2946] Fix | Delete
'type' => 'switch',
[2947] Fix | Delete
'title' => esc_html__( 'Display share buttons in content', 'herald' ),
[2948] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display share buttons area in the content.', 'herald' ),
[2949] Fix | Delete
'default' => herald_get_default_option( 'single_share_content' ),
[2950] Fix | Delete
),
[2951] Fix | Delete
[2952] Fix | Delete
array(
[2953] Fix | Delete
'id' => 'single_share_content_position',
[2954] Fix | Delete
'type' => 'radio',
[2955] Fix | Delete
'title' => esc_html__( 'Choose share buttons position', 'herald' ),
[2956] Fix | Delete
'subtitle' => esc_html__( 'Choose where do you want to show share buttons in content', 'herald' ),
[2957] Fix | Delete
'default' => herald_get_default_option( 'single_share_content_position' ),
[2958] Fix | Delete
'options' => array(
[2959] Fix | Delete
'above' => esc_html__( 'Above content', 'herald' ),
[2960] Fix | Delete
'below' => esc_html__( 'Below content', 'herald' ),
[2961] Fix | Delete
'above_below' => esc_html__( 'Above and below content', 'herald' ),
[2962] Fix | Delete
),
[2963] Fix | Delete
'required' => array( 'single_share_content', '=', true)
[2964] Fix | Delete
),
[2965] Fix | Delete
[2966] Fix | Delete
array(
[2967] Fix | Delete
'id' => 'single_paginated_nav_position',
[2968] Fix | Delete
'type' => 'radio',
[2969] Fix | Delete
'title' => esc_html__( 'Display paginated post navigation', 'herald' ),
[2970] Fix | Delete
'subtitle' => esc_html__( 'Check where do you want to display paging navigation for paginated posts', 'herald' ),
[2971] Fix | Delete
'options' => array(
[2972] Fix | Delete
'above' => esc_html__( 'Above content', 'herald' ),
[2973] Fix | Delete
'below' => esc_html__( 'Below content', 'herald' ),
[2974] Fix | Delete
'abovebelow' => esc_html__( 'Above and below content', 'herald' ),
[2975] Fix | Delete
),
[2976] Fix | Delete
'default' => herald_get_default_option( 'single_paginated_nav_position' ),
[2977] Fix | Delete
),
[2978] Fix | Delete
[2979] Fix | Delete
array(
[2980] Fix | Delete
'id' => 'single_comment_form',
[2981] Fix | Delete
'type' => 'radio',
[2982] Fix | Delete
'title' => esc_html__( 'Display comment form', 'herald' ),
[2983] Fix | Delete
'subtitle' => esc_html__( 'Check where do you want to display comment form', 'herald' ),
[2984] Fix | Delete
'options' => array(
[2985] Fix | Delete
'above' => esc_html__( 'Above comments list', 'herald' ),
[2986] Fix | Delete
'below' => esc_html__( 'Below comments list', 'herald' ),
[2987] Fix | Delete
),
[2988] Fix | Delete
'default' => herald_get_default_option( 'single_comment_form' ),
[2989] Fix | Delete
),
[2990] Fix | Delete
[2991] Fix | Delete
array(
[2992] Fix | Delete
'id' => 'single_infinite_scroll',
[2993] Fix | Delete
'type' => 'switch',
[2994] Fix | Delete
'title' => esc_html__( 'Infinite scroll', 'herald' ),
[2995] Fix | Delete
'subtitle' => esc_html__( 'Enable infinite scroll loading for single posts', 'herald' ),
[2996] Fix | Delete
'default' => herald_get_default_option( 'single_infinite_scroll' ),
[2997] Fix | Delete
),
[2998] Fix | Delete
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function