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
array(
[3000] Fix | Delete
'id' => 'section_single_sticky',
[3001] Fix | Delete
'type' => 'section',
[3002] Fix | Delete
'title' => esc_html__( 'Sticky bar', 'herald' ),
[3003] Fix | Delete
'subtitle' => esc_html__( 'Sticky bottom bar options', 'herald' ),
[3004] Fix | Delete
'indent' => false
[3005] Fix | Delete
),
[3006] Fix | Delete
[3007] Fix | Delete
array(
[3008] Fix | Delete
'id' => 'single_sticky_bar',
[3009] Fix | Delete
'type' => 'switch',
[3010] Fix | Delete
'title' => esc_html__( 'Display sticky bottom bar', 'herald' ),
[3011] Fix | Delete
'default' => herald_get_default_option( 'single_sticky_bar' ),
[3012] Fix | Delete
),
[3013] Fix | Delete
[3014] Fix | Delete
array(
[3015] Fix | Delete
'id' => 'single_sticky_prevnext',
[3016] Fix | Delete
'type' => 'switch',
[3017] Fix | Delete
'title' => esc_html__( 'Display prev/next posts', 'herald' ),
[3018] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display previous and next post links in sticky bar', 'herald' ),
[3019] Fix | Delete
'default' => herald_get_default_option( 'single_sticky_prevnext' ),
[3020] Fix | Delete
'required' => array( 'single_sticky_bar', '=', true )
[3021] Fix | Delete
),
[3022] Fix | Delete
[3023] Fix | Delete
array(
[3024] Fix | Delete
'id' => 'single_prevnext_same_cat',
[3025] Fix | Delete
'type' => 'switch',
[3026] Fix | Delete
'title' => esc_html__( 'Get prev/next posts from the same category', 'herald' ),
[3027] Fix | Delete
'subtitle' => esc_html__( 'Check if previous and next post will be pulled from the same category as current post', 'herald' ),
[3028] Fix | Delete
'default' => herald_get_default_option( 'single_prevnext_same_cat' ),
[3029] Fix | Delete
'required' => array( 'single_sticky_prevnext', '=', true )
[3030] Fix | Delete
),
[3031] Fix | Delete
[3032] Fix | Delete
array(
[3033] Fix | Delete
'id' => 'single_sticky_comments',
[3034] Fix | Delete
'type' => 'switch',
[3035] Fix | Delete
'title' => esc_html__( 'Display comments button', 'herald' ),
[3036] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display comments button in sticky bar', 'herald' ),
[3037] Fix | Delete
'default' => herald_get_default_option( 'single_sticky_comments' ),
[3038] Fix | Delete
'required' => array( 'single_sticky_bar', '=', true )
[3039] Fix | Delete
),
[3040] Fix | Delete
[3041] Fix | Delete
array(
[3042] Fix | Delete
'id' => 'single_sticky_share',
[3043] Fix | Delete
'type' => 'switch',
[3044] Fix | Delete
'title' => esc_html__( 'Display share buttons', 'herald' ),
[3045] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display share buttons in sticky bar', 'herald' ),
[3046] 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' ) ) ): '',
[3047] Fix | Delete
'default' => herald_get_default_option( 'single_sticky_share' ),
[3048] Fix | Delete
'required' => array( 'single_sticky_bar', '=', true )
[3049] Fix | Delete
),
[3050] Fix | Delete
[3051] Fix | Delete
array(
[3052] Fix | Delete
'id' => 'section_related',
[3053] Fix | Delete
'type' => 'section',
[3054] Fix | Delete
'title' => esc_html__( 'Related posts', 'herald' ),
[3055] Fix | Delete
'subtitle' => esc_html__( 'These are options for the related posts area below the single post', 'herald' ),
[3056] Fix | Delete
'indent' => false
[3057] Fix | Delete
),
[3058] Fix | Delete
[3059] Fix | Delete
array(
[3060] Fix | Delete
'id' => 'single_related',
[3061] Fix | Delete
'type' => 'switch',
[3062] Fix | Delete
'title' => esc_html__( 'Display "related" posts box', 'herald' ),
[3063] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display an additional area with related posts below the post content', 'herald' ),
[3064] Fix | Delete
'default' => herald_get_default_option( 'single_related' ),
[3065] Fix | Delete
),
[3066] Fix | Delete
[3067] Fix | Delete
array(
[3068] Fix | Delete
'id' => 'related_layout',
[3069] Fix | Delete
'type' => 'image_select',
[3070] Fix | Delete
'title' => esc_html__( 'Related posts layout', 'herald' ),
[3071] Fix | Delete
'subtitle' => esc_html__( 'Choose how to display your related posts', 'herald' ),
[3072] Fix | Delete
'options' => herald_get_main_layouts(),
[3073] Fix | Delete
'default' => herald_get_default_option( 'related_layout' ),
[3074] Fix | Delete
),
[3075] Fix | Delete
[3076] Fix | Delete
[3077] Fix | Delete
array(
[3078] Fix | Delete
'id' => 'related_limit',
[3079] Fix | Delete
'type' => 'text',
[3080] Fix | Delete
'class' => 'small-text',
[3081] Fix | Delete
'title' => esc_html__( 'Related area posts number limit', 'herald' ),
[3082] Fix | Delete
'default' => herald_get_default_option( 'related_limit' ),
[3083] Fix | Delete
'validate' => 'numeric',
[3084] Fix | Delete
'required' => array( 'single_related', '=', true ),
[3085] Fix | Delete
),
[3086] Fix | Delete
[3087] Fix | Delete
array(
[3088] Fix | Delete
'id' => 'related_type',
[3089] Fix | Delete
'type' => 'radio',
[3090] Fix | Delete
'title' => esc_html__( 'Related area chooses from posts', 'herald' ),
[3091] Fix | Delete
'options' => array(
[3092] Fix | Delete
'cat' => esc_html__( 'Located in the same category', 'herald' ),
[3093] Fix | Delete
'tag' => esc_html__( 'Tagged with at least one same tag', 'herald' ),
[3094] Fix | Delete
'cat_or_tag' => esc_html__( 'Located in the same category OR tagged with a same tag', 'herald' ),
[3095] Fix | Delete
'cat_and_tag' => esc_html__( 'Located in the same category AND tagged with a same tag', 'herald' ),
[3096] Fix | Delete
'author' => esc_html__( 'By the same author', 'herald' ),
[3097] Fix | Delete
'0' => esc_html__( 'All posts', 'herald' )
[3098] Fix | Delete
),
[3099] Fix | Delete
'default' => herald_get_default_option( 'related_type' ),
[3100] Fix | Delete
'required' => array( 'single_related', '=', true ),
[3101] Fix | Delete
),
[3102] Fix | Delete
[3103] Fix | Delete
array(
[3104] Fix | Delete
'id' => 'related_order',
[3105] Fix | Delete
'type' => 'radio',
[3106] Fix | Delete
'title' => esc_html__( 'Related posts are ordered by', 'herald' ),
[3107] Fix | Delete
'options' => herald_get_post_order_opts(),
[3108] Fix | Delete
'default' => herald_get_default_option( 'related_order' ),
[3109] Fix | Delete
'required' => array( 'single_related', '=', true ),
[3110] Fix | Delete
),
[3111] Fix | Delete
[3112] Fix | Delete
array(
[3113] Fix | Delete
'id' => 'related_time',
[3114] Fix | Delete
'type' => 'radio',
[3115] Fix | Delete
'title' => esc_html__( 'Related posts are not older than', 'herald' ),
[3116] Fix | Delete
'options' => herald_get_time_diff_opts(),
[3117] Fix | Delete
'default' => herald_get_default_option( 'related_time' ),
[3118] Fix | Delete
'required' => array( 'single_related', '=', true ),
[3119] Fix | Delete
)
[3120] Fix | Delete
[3121] Fix | Delete
[3122] Fix | Delete
)
[3123] Fix | Delete
)
[3124] Fix | Delete
);
[3125] Fix | Delete
[3126] Fix | Delete
/* Page */
[3127] Fix | Delete
Redux::setSection( $opt_name , array(
[3128] Fix | Delete
'icon' => 'el-icon-file-edit',
[3129] Fix | Delete
'title' => esc_html__( 'Page', 'herald' ),
[3130] Fix | Delete
'desc' => esc_html__( 'Manage default settings for your pages', 'herald' ),
[3131] Fix | Delete
'fields' => array(
[3132] Fix | Delete
[3133] Fix | Delete
array(
[3134] Fix | Delete
'id' => 'page_layout',
[3135] Fix | Delete
'type' => 'image_select',
[3136] Fix | Delete
'title' => esc_html__( 'Page layout', 'herald' ),
[3137] Fix | Delete
'subtitle' => esc_html__( 'Choose a default layout for your pages', 'herald' ),
[3138] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each specific page', 'herald' ),
[3139] Fix | Delete
'options' => herald_get_page_layouts(),
[3140] Fix | Delete
'default' => herald_get_default_option( 'page_layout' ),
[3141] Fix | Delete
),
[3142] Fix | Delete
[3143] Fix | Delete
array(
[3144] Fix | Delete
'id' => 'page_use_sidebar',
[3145] Fix | Delete
'type' => 'image_select',
[3146] Fix | Delete
'title' => esc_html__( 'Display sidebar', 'herald' ),
[3147] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each particular page', 'herald' ),
[3148] Fix | Delete
'options' => herald_get_sidebar_layouts(),
[3149] Fix | Delete
'default' => herald_get_default_option( 'page_use_sidebar' ),
[3150] Fix | Delete
),
[3151] Fix | Delete
[3152] Fix | Delete
array(
[3153] Fix | Delete
'id' => 'page_sidebar',
[3154] Fix | Delete
'type' => 'select',
[3155] Fix | Delete
'title' => esc_html__( 'Page standard sidebar', 'herald' ),
[3156] Fix | Delete
'subtitle' => esc_html__( 'Choose a page standard sidebar', 'herald' ),
[3157] Fix | Delete
'options' => herald_get_sidebars_list(),
[3158] Fix | Delete
'default' => herald_get_default_option( 'page_sidebar' ),
[3159] Fix | Delete
'required' => array( 'page_use_sidebar', '!=', 'none' )
[3160] Fix | Delete
),
[3161] Fix | Delete
[3162] Fix | Delete
array(
[3163] Fix | Delete
'id' => 'page_sticky_sidebar',
[3164] Fix | Delete
'type' => 'select',
[3165] Fix | Delete
'title' => esc_html__( 'Page sticky sidebar', 'herald' ),
[3166] Fix | Delete
'subtitle' => esc_html__( 'Choose a page sticky sidebar', 'herald' ),
[3167] Fix | Delete
'options' => herald_get_sidebars_list(),
[3168] Fix | Delete
'default' => herald_get_default_option( 'page_sticky_sidebar' ),
[3169] Fix | Delete
'required' => array( 'page_use_sidebar', '!=', 'none' )
[3170] Fix | Delete
),
[3171] Fix | Delete
[3172] Fix | Delete
array(
[3173] Fix | Delete
'id' => 'page_fimg',
[3174] Fix | Delete
'type' => 'switch',
[3175] Fix | Delete
'title' => esc_html__( 'Display the featured image', 'herald' ),
[3176] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display the featured image on single pages', 'herald' ),
[3177] Fix | Delete
'default' => herald_get_default_option( 'page_fimg' ),
[3178] Fix | Delete
),
[3179] Fix | Delete
[3180] Fix | Delete
array(
[3181] Fix | Delete
'id' => 'page_fimg_cap',
[3182] Fix | Delete
'type' => 'switch',
[3183] Fix | Delete
'title' => esc_html__( 'Display the featured image caption', 'herald' ),
[3184] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display the caption/description on the featured image', 'herald' ),
[3185] Fix | Delete
'default' => herald_get_default_option( 'page_fimg_cap' ),
[3186] Fix | Delete
'required' => array( 'page_fimg', '=', true )
[3187] Fix | Delete
),
[3188] Fix | Delete
[3189] Fix | Delete
array(
[3190] Fix | Delete
'id' => 'img_size_lay_page_ratio',
[3191] Fix | Delete
'type' => 'radio',
[3192] Fix | Delete
'title' => esc_html__( 'Featured image ratio', 'herald' ),
[3193] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio', 'herald' ),
[3194] Fix | Delete
'options' => herald_get_image_ratio_opts( true ),
[3195] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_page_ratio' ),
[3196] Fix | Delete
),
[3197] Fix | Delete
[3198] Fix | Delete
array(
[3199] Fix | Delete
'id' => 'img_size_lay_page_custom',
[3200] Fix | Delete
'type' => 'text',
[3201] Fix | Delete
'class' => 'small-text',
[3202] Fix | Delete
'title' => esc_html__( 'Featured image custom ratio', 'herald' ),
[3203] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio ', 'herald' ),
[3204] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[3205] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_page_custom' ),
[3206] Fix | Delete
'required' => array( 'img_size_lay_page_ratio', '=', 'custom' ),
[3207] Fix | Delete
),
[3208] Fix | Delete
[3209] Fix | Delete
[3210] Fix | Delete
array(
[3211] Fix | Delete
'id' => 'page_comments',
[3212] Fix | Delete
'type' => 'switch',
[3213] Fix | Delete
'title' => esc_html__( 'Display comments', 'herald' ),
[3214] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display comments on pages', 'herald' ),
[3215] Fix | Delete
'description' => esc_html__( 'Note: This is just an option to quickly hide/display comments on pages. If you want to allow/disallow comments properly, you need to do it in the "Discussion" box for each particular page.', 'herald' ),
[3216] Fix | Delete
'default' => herald_get_default_option( 'page_comments' ), )
[3217] Fix | Delete
) )
[3218] Fix | Delete
);
[3219] Fix | Delete
[3220] Fix | Delete
/* Categories */
[3221] Fix | Delete
Redux::setSection( $opt_name , array(
[3222] Fix | Delete
'icon' => 'el-icon-folder',
[3223] Fix | Delete
'title' => esc_html__( 'Category Template', 'herald' ),
[3224] Fix | Delete
'desc' => esc_html__( 'Manage settings for the category templates. Note: these are global category settings, you can optionally modify these settings for each individual category.', 'herald' ),
[3225] Fix | Delete
'fields' => array(
[3226] Fix | Delete
[3227] Fix | Delete
[3228] Fix | Delete
array(
[3229] Fix | Delete
'id' => 'category_fa_layout',
[3230] Fix | Delete
'type' => 'image_select',
[3231] Fix | Delete
'title' => esc_html__( 'Featured area layout', 'herald' ),
[3232] Fix | Delete
'subtitle' => esc_html__( 'Choose a default featured area layout for categories', 'herald' ),
[3233] Fix | Delete
'options' => herald_get_featured_layouts( false, true ),
[3234] Fix | Delete
'default' => herald_get_default_option( 'category_fa_layout' ),
[3235] Fix | Delete
),
[3236] Fix | Delete
[3237] Fix | Delete
array(
[3238] Fix | Delete
'id' => 'category_fa_order',
[3239] Fix | Delete
'type' => 'radio',
[3240] Fix | Delete
'title' => esc_html__( 'Featured area chooses from', 'herald' ),
[3241] Fix | Delete
'options' => herald_get_fa_post_opts(),
[3242] Fix | Delete
'default' => herald_get_default_option( 'category_fa_order' ),
[3243] Fix | Delete
'required' => array( 'category_fa_layout', '!=', 'none' ),
[3244] Fix | Delete
),
[3245] Fix | Delete
[3246] Fix | Delete
array(
[3247] Fix | Delete
'id' => 'category_fa_unique',
[3248] Fix | Delete
'type' => 'switch',
[3249] Fix | Delete
'title' => esc_html__( 'Make featured area posts unique', 'herald' ),
[3250] Fix | Delete
'subtitle' => esc_html__( 'Do not duplicate featured area posts and exclude them from main post listing below', 'herald' ),
[3251] Fix | Delete
'default' => herald_get_default_option( 'category_fa_unique' ),
[3252] Fix | Delete
'required' => array( 'category_fa_layout', '!=', 'none' ),
[3253] Fix | Delete
),
[3254] Fix | Delete
[3255] Fix | Delete
array(
[3256] Fix | Delete
'id' => 'category_sub',
[3257] Fix | Delete
'type' => 'switch',
[3258] Fix | Delete
'title' => esc_html__( 'Display child category navigation', 'herald' ),
[3259] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display links to child categories in category heading', 'herald' ),
[3260] Fix | Delete
'default' => herald_get_default_option( 'category_sub' ),
[3261] Fix | Delete
),
[3262] Fix | Delete
[3263] Fix | Delete
array(
[3264] Fix | Delete
'id' => 'category_desc',
[3265] Fix | Delete
'type' => 'switch',
[3266] Fix | Delete
'title' => esc_html__( 'Display category description', 'herald' ),
[3267] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display category description', 'herald' ),
[3268] Fix | Delete
'default' => herald_get_default_option( 'category_desc' ),
[3269] Fix | Delete
),
[3270] Fix | Delete
[3271] Fix | Delete
array(
[3272] Fix | Delete
'id' => 'category_layout',
[3273] Fix | Delete
'type' => 'image_select',
[3274] Fix | Delete
'title' => esc_html__( 'Main layout', 'herald' ),
[3275] Fix | Delete
'subtitle' => esc_html__( 'Choose how to display your posts on category templates', 'herald' ),
[3276] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each category separately', 'herald' ),
[3277] Fix | Delete
'options' => herald_get_main_layouts(),
[3278] Fix | Delete
'default' => herald_get_default_option( 'category_layout' ),
[3279] Fix | Delete
),
[3280] Fix | Delete
[3281] Fix | Delete
array(
[3282] Fix | Delete
'id' => 'category_ppp',
[3283] Fix | Delete
'type' => 'radio',
[3284] Fix | Delete
'title' => esc_html__( 'Posts per page', 'herald' ),
[3285] Fix | Delete
'subtitle' => esc_html__( 'Choose how many posts per page you want to display', 'herald' ),
[3286] Fix | Delete
'options' => array(
[3287] Fix | Delete
'inherit' => wp_kses( sprintf( __( 'Inherit from global option in <a href="%s">Settings->Reading</a>', 'herald' ), admin_url( 'options-general.php' ) ), wp_kses_allowed_html( 'post' ) ),
[3288] Fix | Delete
'custom' => esc_html__( 'Custom number', 'herald' )
[3289] Fix | Delete
),
[3290] Fix | Delete
'default' => herald_get_default_option( 'category_ppp' ),
[3291] Fix | Delete
),
[3292] Fix | Delete
[3293] Fix | Delete
array(
[3294] Fix | Delete
'id' => 'category_ppp_num',
[3295] Fix | Delete
'type' => 'text',
[3296] Fix | Delete
'class' => 'small-text',
[3297] Fix | Delete
'title' => esc_html__( 'Number of posts per page', 'herald' ),
[3298] Fix | Delete
'default' => herald_get_default_option( 'category_ppp_num' ),
[3299] Fix | Delete
'required' => array( 'category_ppp', '=', 'custom' ),
[3300] Fix | Delete
'validate' => 'numeric'
[3301] Fix | Delete
),
[3302] Fix | Delete
[3303] Fix | Delete
[3304] Fix | Delete
array(
[3305] Fix | Delete
'id' => 'category_starter_layout',
[3306] Fix | Delete
'type' => 'image_select',
[3307] Fix | Delete
'title' => esc_html__( 'Starter layout', 'herald' ),
[3308] Fix | Delete
'subtitle' => esc_html__( 'By choosing a starter layout, first "x" posts on the page will be displayed in this layout', 'herald' ),
[3309] Fix | Delete
'options' => herald_get_main_layouts( false, true ),
[3310] Fix | Delete
'default' => herald_get_default_option( 'category_starter_layout' ),
[3311] Fix | Delete
),
[3312] Fix | Delete
[3313] Fix | Delete
array(
[3314] Fix | Delete
'id' => 'category_starter_limit',
[3315] Fix | Delete
'type' => 'text',
[3316] Fix | Delete
'class' => 'small-text',
[3317] Fix | Delete
'title' => esc_html__( 'Number of starter posts', 'herald' ),
[3318] Fix | Delete
'subtitle' => esc_html__( 'Specify how many posts to display in "starter" layout', 'herald' ),
[3319] Fix | Delete
'default' => herald_get_default_option( 'category_starter_limit' ),
[3320] Fix | Delete
'required' => array( 'category_starter_layout', '!=', 'none' ),
[3321] Fix | Delete
'validate' => 'numeric'
[3322] Fix | Delete
),
[3323] Fix | Delete
[3324] Fix | Delete
array(
[3325] Fix | Delete
'id' => 'category_use_sidebar',
[3326] Fix | Delete
'type' => 'image_select',
[3327] Fix | Delete
'title' => esc_html__( 'Display sidebar', 'herald' ),
[3328] Fix | Delete
'options' => herald_get_sidebar_layouts(),
[3329] Fix | Delete
'default' => herald_get_default_option( 'category_use_sidebar' ),
[3330] Fix | Delete
),
[3331] Fix | Delete
[3332] Fix | Delete
array(
[3333] Fix | Delete
'id' => 'category_sidebar',
[3334] Fix | Delete
'type' => 'select',
[3335] Fix | Delete
'title' => esc_html__( 'Category standard sidebar', 'herald' ),
[3336] Fix | Delete
'subtitle' => esc_html__( 'Choose a standard category sidebar', 'herald' ),
[3337] Fix | Delete
'options' => herald_get_sidebars_list(),
[3338] Fix | Delete
'default' => herald_get_default_option( 'category_sidebar' ),
[3339] Fix | Delete
'required' => array( 'category_use_sidebar', '!=', 'none' )
[3340] Fix | Delete
),
[3341] Fix | Delete
[3342] Fix | Delete
array(
[3343] Fix | Delete
'id' => 'category_sticky_sidebar',
[3344] Fix | Delete
'type' => 'select',
[3345] Fix | Delete
'title' => esc_html__( 'Category sticky sidebar', 'herald' ),
[3346] Fix | Delete
'subtitle' => esc_html__( 'Choose a sticky category sidebar', 'herald' ),
[3347] Fix | Delete
'options' => herald_get_sidebars_list(),
[3348] Fix | Delete
'default' => herald_get_default_option( 'category_sticky_sidebar' ),
[3349] Fix | Delete
'required' => array( 'category_use_sidebar', '!=', 'none' )
[3350] Fix | Delete
),
[3351] Fix | Delete
[3352] Fix | Delete
array(
[3353] Fix | Delete
'id' => 'category_pag',
[3354] Fix | Delete
'type' => 'image_select',
[3355] Fix | Delete
'title' => esc_html__( 'Pagination', 'herald' ),
[3356] Fix | Delete
'subtitle' => esc_html__( 'Choose a pagination type for category template', 'herald' ),
[3357] Fix | Delete
'desc' => esc_html__( 'Note: You can override this option for each category separately', 'herald' ),
[3358] Fix | Delete
'options' => herald_get_pagination_layouts(),
[3359] Fix | Delete
'default' => herald_get_default_option( 'category_pag' ),
[3360] Fix | Delete
)
[3361] Fix | Delete
)
[3362] Fix | Delete
)
[3363] Fix | Delete
);
[3364] Fix | Delete
[3365] Fix | Delete
/* Tags */
[3366] Fix | Delete
Redux::setSection( $opt_name , array(
[3367] Fix | Delete
'icon' => ' el-icon-tag',
[3368] Fix | Delete
'title' => esc_html__( 'Tag Template', 'herald' ),
[3369] Fix | Delete
'desc' => esc_html__( 'Manage settings for the tag templates', 'herald' ),
[3370] Fix | Delete
'fields' => array(
[3371] Fix | Delete
[3372] Fix | Delete
array(
[3373] Fix | Delete
'id' => 'tag_layout',
[3374] Fix | Delete
'type' => 'image_select',
[3375] Fix | Delete
'title' => esc_html__( 'Main layout', 'herald' ),
[3376] Fix | Delete
'subtitle' => esc_html__( 'Choose how to display your posts on the tag template', 'herald' ),
[3377] Fix | Delete
'options' => herald_get_main_layouts(),
[3378] Fix | Delete
'default' => herald_get_default_option( 'tag_layout' ),
[3379] Fix | Delete
),
[3380] Fix | Delete
[3381] Fix | Delete
array(
[3382] Fix | Delete
'id' => 'tag_ppp',
[3383] Fix | Delete
'type' => 'radio',
[3384] Fix | Delete
'title' => esc_html__( 'Posts per page', 'herald' ),
[3385] Fix | Delete
'subtitle' => esc_html__( 'Choose how many posts per page you want to display', 'herald' ),
[3386] Fix | Delete
'options' => array(
[3387] Fix | Delete
'inherit' => wp_kses( sprintf( __( 'Inherit from global option in <a href="%s">Settings->Reading</a>', 'herald' ), admin_url( 'options-general.php' ) ), wp_kses_allowed_html( 'post' ) ),
[3388] Fix | Delete
'custom' => esc_html__( 'Custom number', 'herald' )
[3389] Fix | Delete
),
[3390] Fix | Delete
'default' => herald_get_default_option( 'tag_ppp' ),
[3391] Fix | Delete
),
[3392] Fix | Delete
[3393] Fix | Delete
array(
[3394] Fix | Delete
'id' => 'tag_ppp_num',
[3395] Fix | Delete
'type' => 'text',
[3396] Fix | Delete
'class' => 'small-text',
[3397] Fix | Delete
'title' => esc_html__( 'Number of posts per page', 'herald' ),
[3398] Fix | Delete
'default' => herald_get_default_option( 'tag_ppp_num' ),
[3399] Fix | Delete
'required' => array( 'tag_ppp', '=', 'custom' ),
[3400] Fix | Delete
'validate' => 'numeric'
[3401] Fix | Delete
),
[3402] Fix | Delete
[3403] Fix | Delete
array(
[3404] Fix | Delete
'id' => 'tag_starter_layout',
[3405] Fix | Delete
'type' => 'image_select',
[3406] Fix | Delete
'title' => esc_html__( 'Starter layout', 'herald' ),
[3407] Fix | Delete
'subtitle' => esc_html__( 'By choosing a starter layout, first "x" posts on the page will be displayed in this layout', 'herald' ),
[3408] Fix | Delete
'options' => herald_get_main_layouts( false, true ),
[3409] Fix | Delete
'default' => herald_get_default_option( 'tag_starter_layout' ),
[3410] Fix | Delete
),
[3411] Fix | Delete
[3412] Fix | Delete
array(
[3413] Fix | Delete
'id' => 'tag_starter_limit',
[3414] Fix | Delete
'type' => 'text',
[3415] Fix | Delete
'class' => 'small-text',
[3416] Fix | Delete
'title' => esc_html__( 'Number of starter posts', 'herald' ),
[3417] Fix | Delete
'subtitle' => esc_html__( 'Specify how many posts to display in "starter" layout', 'herald' ),
[3418] Fix | Delete
'default' => herald_get_default_option( 'tag_starter_limit' ),
[3419] Fix | Delete
'required' => array( 'tag_starter_layout', '!=', 'none' ),
[3420] Fix | Delete
'validate' => 'numeric'
[3421] Fix | Delete
),
[3422] Fix | Delete
[3423] Fix | Delete
[3424] Fix | Delete
array(
[3425] Fix | Delete
'id' => 'tag_use_sidebar',
[3426] Fix | Delete
'type' => 'image_select',
[3427] Fix | Delete
'title' => esc_html__( 'Display sidebar', 'herald' ),
[3428] Fix | Delete
'options' => herald_get_sidebar_layouts(),
[3429] Fix | Delete
'default' => herald_get_default_option( 'tag_use_sidebar' ),
[3430] Fix | Delete
),
[3431] Fix | Delete
[3432] Fix | Delete
array(
[3433] Fix | Delete
'id' => 'tag_sidebar',
[3434] Fix | Delete
'type' => 'select',
[3435] Fix | Delete
'title' => esc_html__( 'Tag standard sidebar', 'herald' ),
[3436] Fix | Delete
'subtitle' => esc_html__( 'Choose a standard sidebar for the tag template', 'herald' ),
[3437] Fix | Delete
'options' => herald_get_sidebars_list(),
[3438] Fix | Delete
'default' => herald_get_default_option( 'tag_sidebar' ),
[3439] Fix | Delete
'required' => array( 'tag_use_sidebar', '!=', 'none' )
[3440] Fix | Delete
),
[3441] Fix | Delete
[3442] Fix | Delete
array(
[3443] Fix | Delete
'id' => 'tag_sticky_sidebar',
[3444] Fix | Delete
'type' => 'select',
[3445] Fix | Delete
'title' => esc_html__( 'Tag sticky sidebar', 'herald' ),
[3446] Fix | Delete
'subtitle' => esc_html__( 'Choose a sticky sidebar for the tag template', 'herald' ),
[3447] Fix | Delete
'options' => herald_get_sidebars_list(),
[3448] Fix | Delete
'default' => herald_get_default_option( 'tag_sticky_sidebar' ),
[3449] Fix | Delete
'required' => array( 'tag_use_sidebar', '!=', 'none' )
[3450] Fix | Delete
),
[3451] Fix | Delete
[3452] Fix | Delete
array(
[3453] Fix | Delete
'id' => 'tag_pag',
[3454] Fix | Delete
'type' => 'image_select',
[3455] Fix | Delete
'title' => esc_html__( 'Pagination', 'herald' ),
[3456] Fix | Delete
'subtitle' => esc_html__( 'Choose a pagination type for tag template', 'herald' ),
[3457] Fix | Delete
'options' => herald_get_pagination_layouts(),
[3458] Fix | Delete
'default' => herald_get_default_option( 'tag_pag' ),
[3459] Fix | Delete
),
[3460] Fix | Delete
)
[3461] Fix | Delete
)
[3462] Fix | Delete
);
[3463] Fix | Delete
[3464] Fix | Delete
/* Author */
[3465] Fix | Delete
Redux::setSection( $opt_name , array(
[3466] Fix | Delete
'icon' => 'el-icon-user',
[3467] Fix | Delete
'title' => esc_html__( 'Author Template', 'herald' ),
[3468] Fix | Delete
'desc' => esc_html__( 'Manage settings for the author templates', 'herald' ),
[3469] Fix | Delete
'fields' => array(
[3470] Fix | Delete
[3471] Fix | Delete
array(
[3472] Fix | Delete
'id' => 'author_desc',
[3473] Fix | Delete
'type' => 'switch',
[3474] Fix | Delete
'title' => esc_html__( 'Author description', 'herald' ),
[3475] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display the author avatar with bio/description', 'herald' ),
[3476] Fix | Delete
'default' => herald_get_default_option( 'author_desc' ),
[3477] Fix | Delete
),
[3478] Fix | Delete
[3479] Fix | Delete
array(
[3480] Fix | Delete
'id' => 'author_social',
[3481] Fix | Delete
'type' => 'switch',
[3482] Fix | Delete
'title' => esc_html__( 'Author social links', 'herald' ),
[3483] Fix | Delete
'subtitle' => esc_html__( 'Choose if you want to display the author social links', 'herald' ),
[3484] Fix | Delete
'default' => herald_get_default_option( 'author_social' ),
[3485] Fix | Delete
),
[3486] Fix | Delete
[3487] Fix | Delete
array(
[3488] Fix | Delete
'id' => 'author_layout',
[3489] Fix | Delete
'type' => 'image_select',
[3490] Fix | Delete
'title' => esc_html__( 'Main layout', 'herald' ),
[3491] Fix | Delete
'subtitle' => esc_html__( 'Choose how to display your posts on the author template', 'herald' ),
[3492] Fix | Delete
'options' => herald_get_main_layouts(),
[3493] Fix | Delete
'default' => herald_get_default_option( 'author_layout' ),
[3494] Fix | Delete
),
[3495] Fix | Delete
[3496] Fix | Delete
array(
[3497] Fix | Delete
'id' => 'author_ppp',
[3498] Fix | Delete
'type' => 'radio',
[3499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function