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
'class' => 'small-text',
[2000] Fix | Delete
'title' => esc_html__( 'Layout G image custom ratio', 'herald' ),
[2001] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout G images', 'herald' ),
[2002] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2003] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_g_custom' ),
[2004] Fix | Delete
'required' => array( 'img_size_lay_g_ratio', '=', 'custom' ),
[2005] Fix | Delete
),
[2006] Fix | Delete
[2007] Fix | Delete
)
[2008] Fix | Delete
)
[2009] Fix | Delete
);
[2010] Fix | Delete
[2011] Fix | Delete
/* Layout G1 */
[2012] Fix | Delete
Redux::setSection( $opt_name , array(
[2013] Fix | Delete
'icon' => '',
[2014] Fix | Delete
'title' => esc_html__( 'Layout G1', 'herald' ),
[2015] Fix | Delete
'heading' => false,
[2016] Fix | Delete
'subsection' => true,
[2017] Fix | Delete
'fields' => array(
[2018] Fix | Delete
[2019] Fix | Delete
array(
[2020] Fix | Delete
'id' => 'section_layout_g1',
[2021] Fix | Delete
'type' => 'herald_section',
[2022] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_g1.png' ) ).'"/>'.esc_html__( 'Layout G1', 'herald' ),
[2023] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout G1', 'herald' ),
[2024] Fix | Delete
'indent' => false
[2025] Fix | Delete
),
[2026] Fix | Delete
[2027] Fix | Delete
array(
[2028] Fix | Delete
'id' => 'lay_g1_cat',
[2029] Fix | Delete
'type' => 'switch',
[2030] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2031] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout G1', 'herald' ),
[2032] Fix | Delete
'default' => herald_get_default_option( 'lay_g1_cat' ),
[2033] Fix | Delete
),
[2034] Fix | Delete
[2035] Fix | Delete
array(
[2036] Fix | Delete
'id' => 'lay_g1_meta',
[2037] Fix | Delete
'type' => 'sortable',
[2038] Fix | Delete
'mode' => 'checkbox',
[2039] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2040] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout G1', 'herald' ),
[2041] Fix | Delete
'options' => herald_get_meta_opts(),
[2042] Fix | Delete
'default' => herald_get_default_option( 'lay_g1_meta' ),
[2043] Fix | Delete
),
[2044] Fix | Delete
[2045] Fix | Delete
array(
[2046] Fix | Delete
'id' => 'img_size_lay_g1_ratio',
[2047] Fix | Delete
'type' => 'radio',
[2048] Fix | Delete
'title' => esc_html__( 'Layout G1 image ratio', 'herald' ),
[2049] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout G1', 'herald' ),
[2050] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[2051] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_g1_ratio' ),
[2052] Fix | Delete
),
[2053] Fix | Delete
[2054] Fix | Delete
array(
[2055] Fix | Delete
'id' => 'img_size_lay_g1_custom',
[2056] Fix | Delete
'type' => 'text',
[2057] Fix | Delete
'class' => 'small-text',
[2058] Fix | Delete
'title' => esc_html__( 'Layout G1 image custom ratio', 'herald' ),
[2059] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout G1 images', 'herald' ),
[2060] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2061] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_g1_custom' ),
[2062] Fix | Delete
'required' => array( 'img_size_lay_g1_ratio', '=', 'custom' ),
[2063] Fix | Delete
),
[2064] Fix | Delete
[2065] Fix | Delete
)
[2066] Fix | Delete
)
[2067] Fix | Delete
);
[2068] Fix | Delete
[2069] Fix | Delete
[2070] Fix | Delete
/* Layout H */
[2071] Fix | Delete
Redux::setSection( $opt_name , array(
[2072] Fix | Delete
'icon' => '',
[2073] Fix | Delete
'title' => esc_html__( 'Layout H', 'herald' ),
[2074] Fix | Delete
'heading' => false,
[2075] Fix | Delete
'subsection' => true,
[2076] Fix | Delete
'fields' => array(
[2077] Fix | Delete
[2078] Fix | Delete
array(
[2079] Fix | Delete
'id' => 'section_layout_h',
[2080] Fix | Delete
'type' => 'herald_section',
[2081] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_h.png' ) ).'"/>'.esc_html__( 'Layout H', 'herald' ),
[2082] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout H', 'herald' ),
[2083] Fix | Delete
'indent' => false
[2084] Fix | Delete
),
[2085] Fix | Delete
[2086] Fix | Delete
array(
[2087] Fix | Delete
'id' => 'lay_h_cat',
[2088] Fix | Delete
'type' => 'switch',
[2089] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2090] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout H', 'herald' ),
[2091] Fix | Delete
'default' => herald_get_default_option( 'lay_h_cat' ),
[2092] Fix | Delete
),
[2093] Fix | Delete
[2094] Fix | Delete
array(
[2095] Fix | Delete
'id' => 'lay_h_meta',
[2096] Fix | Delete
'type' => 'sortable',
[2097] Fix | Delete
'mode' => 'checkbox',
[2098] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2099] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout H', 'herald' ),
[2100] Fix | Delete
'options' => herald_get_meta_opts(),
[2101] Fix | Delete
'default' => herald_get_default_option( 'lay_h_meta' ),
[2102] Fix | Delete
),
[2103] Fix | Delete
[2104] Fix | Delete
array(
[2105] Fix | Delete
'id' => 'lay_h_excerpt',
[2106] Fix | Delete
'type' => 'switch',
[2107] Fix | Delete
'title' => esc_html__( 'Layout H excerpt', 'herald' ),
[2108] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to show a text excerpt for posts in Layout H', 'herald' ),
[2109] Fix | Delete
'default' => herald_get_default_option( 'lay_h_excerpt' ),
[2110] Fix | Delete
),
[2111] Fix | Delete
[2112] Fix | Delete
[2113] Fix | Delete
array(
[2114] Fix | Delete
'id' => 'lay_h_excerpt_limit',
[2115] Fix | Delete
'type' => 'text',
[2116] Fix | Delete
'class' => 'small-text',
[2117] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[2118] Fix | Delete
'subtitle' => esc_html__( 'Specify your excerpt limit', 'herald' ),
[2119] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[2120] Fix | Delete
'default' => herald_get_default_option( 'lay_h_excerpt_limit' ),
[2121] Fix | Delete
'validate' => 'numeric',
[2122] Fix | Delete
'required' => array( 'lay_h_excerpt', '=', true )
[2123] Fix | Delete
),
[2124] Fix | Delete
[2125] Fix | Delete
)
[2126] Fix | Delete
)
[2127] Fix | Delete
);
[2128] Fix | Delete
[2129] Fix | Delete
/* Layout I */
[2130] Fix | Delete
Redux::setSection( $opt_name , array(
[2131] Fix | Delete
'icon' => '',
[2132] Fix | Delete
'title' => esc_html__( 'Layout I', 'herald' ),
[2133] Fix | Delete
'heading' => false,
[2134] Fix | Delete
'subsection' => true,
[2135] Fix | Delete
'fields' => array(
[2136] Fix | Delete
[2137] Fix | Delete
array(
[2138] Fix | Delete
'id' => 'section_layout_i',
[2139] Fix | Delete
'type' => 'herald_section',
[2140] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_i.png' ) ).'"/>'.esc_html__( 'Layout I', 'herald' ),
[2141] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout I', 'herald' ),
[2142] Fix | Delete
'indent' => false
[2143] Fix | Delete
),
[2144] Fix | Delete
[2145] Fix | Delete
array(
[2146] Fix | Delete
'id' => 'lay_i_cat',
[2147] Fix | Delete
'type' => 'switch',
[2148] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2149] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout I', 'herald' ),
[2150] Fix | Delete
'default' => herald_get_default_option( 'lay_i_cat' ),
[2151] Fix | Delete
),
[2152] Fix | Delete
[2153] Fix | Delete
array(
[2154] Fix | Delete
'id' => 'lay_i_meta',
[2155] Fix | Delete
'type' => 'sortable',
[2156] Fix | Delete
'mode' => 'checkbox',
[2157] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2158] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout I', 'herald' ),
[2159] Fix | Delete
'options' => herald_get_meta_opts(),
[2160] Fix | Delete
'default' => herald_get_default_option( 'lay_i_meta' ),
[2161] Fix | Delete
),
[2162] Fix | Delete
[2163] Fix | Delete
array(
[2164] Fix | Delete
'id' => 'img_size_lay_i_ratio',
[2165] Fix | Delete
'type' => 'radio',
[2166] Fix | Delete
'title' => esc_html__( 'Layout I image ratio', 'herald' ),
[2167] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout I', 'herald' ),
[2168] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[2169] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_i_ratio' ),
[2170] Fix | Delete
),
[2171] Fix | Delete
[2172] Fix | Delete
array(
[2173] Fix | Delete
'id' => 'img_size_lay_i_custom',
[2174] Fix | Delete
'type' => 'text',
[2175] Fix | Delete
'class' => 'small-text',
[2176] Fix | Delete
'title' => esc_html__( 'Layout I image custom ratio', 'herald' ),
[2177] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout I images', 'herald' ),
[2178] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2179] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_i_custom' ),
[2180] Fix | Delete
'required' => array( 'img_size_lay_i_ratio', '=', 'custom' ),
[2181] Fix | Delete
),
[2182] Fix | Delete
[2183] Fix | Delete
)
[2184] Fix | Delete
)
[2185] Fix | Delete
);
[2186] Fix | Delete
[2187] Fix | Delete
/* Layout I1 */
[2188] Fix | Delete
Redux::setSection( $opt_name , array(
[2189] Fix | Delete
'icon' => '',
[2190] Fix | Delete
'title' => esc_html__( 'Layout I1', 'herald' ),
[2191] Fix | Delete
'heading' => false,
[2192] Fix | Delete
'subsection' => true,
[2193] Fix | Delete
'fields' => array(
[2194] Fix | Delete
[2195] Fix | Delete
array(
[2196] Fix | Delete
'id' => 'section_layout_i1',
[2197] Fix | Delete
'type' => 'herald_section',
[2198] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_i1.png' ) ).'"/>'.esc_html__( 'Layout I1', 'herald' ),
[2199] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout I1', 'herald' ),
[2200] Fix | Delete
'indent' => false
[2201] Fix | Delete
),
[2202] Fix | Delete
[2203] Fix | Delete
array(
[2204] Fix | Delete
'id' => 'lay_i1_cat',
[2205] Fix | Delete
'type' => 'switch',
[2206] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2207] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout I1', 'herald' ),
[2208] Fix | Delete
'default' => herald_get_default_option( 'lay_i1_cat' ),
[2209] Fix | Delete
),
[2210] Fix | Delete
[2211] Fix | Delete
array(
[2212] Fix | Delete
'id' => 'lay_i1_meta',
[2213] Fix | Delete
'type' => 'sortable',
[2214] Fix | Delete
'mode' => 'checkbox',
[2215] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2216] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout I1', 'herald' ),
[2217] Fix | Delete
'options' => herald_get_meta_opts(),
[2218] Fix | Delete
'default' => herald_get_default_option( 'lay_i1_meta' ),
[2219] Fix | Delete
),
[2220] Fix | Delete
[2221] Fix | Delete
array(
[2222] Fix | Delete
'id' => 'img_size_lay_i1_ratio',
[2223] Fix | Delete
'type' => 'radio',
[2224] Fix | Delete
'title' => esc_html__( 'Layout I1 image ratio', 'herald' ),
[2225] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout I1', 'herald' ),
[2226] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[2227] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_i1_ratio' ),
[2228] Fix | Delete
),
[2229] Fix | Delete
[2230] Fix | Delete
array(
[2231] Fix | Delete
'id' => 'img_size_lay_i1_custom',
[2232] Fix | Delete
'type' => 'text',
[2233] Fix | Delete
'class' => 'small-text',
[2234] Fix | Delete
'title' => esc_html__( 'Layout I1 image custom ratio', 'herald' ),
[2235] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout I1 images', 'herald' ),
[2236] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2237] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_i1_custom' ),
[2238] Fix | Delete
'required' => array( 'img_size_lay_i1_ratio', '=', 'custom' ),
[2239] Fix | Delete
),
[2240] Fix | Delete
[2241] Fix | Delete
)
[2242] Fix | Delete
)
[2243] Fix | Delete
);
[2244] Fix | Delete
[2245] Fix | Delete
[2246] Fix | Delete
/* Layout J */
[2247] Fix | Delete
Redux::setSection( $opt_name , array(
[2248] Fix | Delete
'icon' => '',
[2249] Fix | Delete
'title' => esc_html__( 'Layout J', 'herald' ),
[2250] Fix | Delete
'heading' => false,
[2251] Fix | Delete
'subsection' => true,
[2252] Fix | Delete
'fields' => array(
[2253] Fix | Delete
[2254] Fix | Delete
array(
[2255] Fix | Delete
'id' => 'section_layout_j',
[2256] Fix | Delete
'type' => 'herald_section',
[2257] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_j.png' ) ).'"/>'.esc_html__( 'Layout J', 'herald' ),
[2258] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout J', 'herald' ),
[2259] Fix | Delete
'indent' => false
[2260] Fix | Delete
),
[2261] Fix | Delete
[2262] Fix | Delete
array(
[2263] Fix | Delete
'id' => 'lay_j_cat',
[2264] Fix | Delete
'type' => 'switch',
[2265] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2266] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout J', 'herald' ),
[2267] Fix | Delete
'default' => herald_get_default_option( 'lay_j_cat' ),
[2268] Fix | Delete
),
[2269] Fix | Delete
[2270] Fix | Delete
array(
[2271] Fix | Delete
'id' => 'lay_j_meta',
[2272] Fix | Delete
'type' => 'sortable',
[2273] Fix | Delete
'mode' => 'checkbox',
[2274] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2275] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout J', 'herald' ),
[2276] Fix | Delete
'options' => herald_get_meta_opts(),
[2277] Fix | Delete
'default' => herald_get_default_option( 'lay_j_meta' ),
[2278] Fix | Delete
),
[2279] Fix | Delete
[2280] Fix | Delete
)
[2281] Fix | Delete
)
[2282] Fix | Delete
);
[2283] Fix | Delete
[2284] Fix | Delete
/* Layout K */
[2285] Fix | Delete
Redux::setSection( $opt_name , array(
[2286] Fix | Delete
'icon' => '',
[2287] Fix | Delete
'title' => esc_html__( 'Layout K', 'herald' ),
[2288] Fix | Delete
'heading' => false,
[2289] Fix | Delete
'subsection' => true,
[2290] Fix | Delete
'fields' => array(
[2291] Fix | Delete
[2292] Fix | Delete
array(
[2293] Fix | Delete
'id' => 'section_layout_k',
[2294] Fix | Delete
'type' => 'herald_section',
[2295] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_k.png' ) ).'"/>'.esc_html__( 'Layout k', 'herald' ),
[2296] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout K', 'herald' ),
[2297] Fix | Delete
'indent' => false
[2298] Fix | Delete
),
[2299] Fix | Delete
[2300] Fix | Delete
array(
[2301] Fix | Delete
'id' => 'lay_k_title',
[2302] Fix | Delete
'type' => 'switch',
[2303] Fix | Delete
'title' => esc_html__( 'Display post title', 'herald' ),
[2304] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display post titles for posts in Layout K', 'herald' ),
[2305] Fix | Delete
'default' => herald_get_default_option( 'lay_k_title' ),
[2306] Fix | Delete
),
[2307] Fix | Delete
[2308] Fix | Delete
array(
[2309] Fix | Delete
'id' => 'lay_k_cat',
[2310] Fix | Delete
'type' => 'switch',
[2311] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2312] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout K', 'herald' ),
[2313] Fix | Delete
'default' => herald_get_default_option( 'lay_k_cat' ),
[2314] Fix | Delete
),
[2315] Fix | Delete
[2316] Fix | Delete
array(
[2317] Fix | Delete
'id' => 'lay_k_meta',
[2318] Fix | Delete
'type' => 'sortable',
[2319] Fix | Delete
'mode' => 'checkbox',
[2320] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2321] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout K', 'herald' ),
[2322] Fix | Delete
'options' => herald_get_meta_opts(),
[2323] Fix | Delete
'default' => herald_get_default_option( 'lay_k_meta' ),
[2324] Fix | Delete
),
[2325] Fix | Delete
[2326] Fix | Delete
array(
[2327] Fix | Delete
'id' => 'img_size_lay_k_ratio',
[2328] Fix | Delete
'type' => 'radio',
[2329] Fix | Delete
'title' => esc_html__( 'Layout L image ratio', 'herald' ),
[2330] Fix | Delete
'subtitle' => esc_html__( 'Choose an image ratio for Layout K', 'herald' ),
[2331] Fix | Delete
'options' => herald_get_image_ratio_opts(),
[2332] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_k_ratio' ),
[2333] Fix | Delete
),
[2334] Fix | Delete
[2335] Fix | Delete
array(
[2336] Fix | Delete
'id' => 'img_size_lay_k_custom',
[2337] Fix | Delete
'type' => 'text',
[2338] Fix | Delete
'class' => 'small-text',
[2339] Fix | Delete
'title' => esc_html__( 'Layout K image custom ratio', 'herald' ),
[2340] Fix | Delete
'subtitle' => esc_html__( 'Specify your custom ratio for Layout L images', 'herald' ),
[2341] Fix | Delete
'desc' => esc_html__( 'Note: put 3:4 or 2:1 or any custom ratio you want', 'herald' ),
[2342] Fix | Delete
'default' => herald_get_default_option( 'img_size_lay_k_custom' ),
[2343] Fix | Delete
'required' => array( 'img_size_lay_l_ratio', '=', 'custom' ),
[2344] Fix | Delete
),
[2345] Fix | Delete
[2346] Fix | Delete
)
[2347] Fix | Delete
)
[2348] Fix | Delete
);
[2349] Fix | Delete
[2350] Fix | Delete
/* Layout L */
[2351] Fix | Delete
Redux::setSection( $opt_name , array(
[2352] Fix | Delete
'icon' => '',
[2353] Fix | Delete
'title' => esc_html__( 'Layout L', 'herald' ),
[2354] Fix | Delete
'heading' => false,
[2355] Fix | Delete
'subsection' => true,
[2356] Fix | Delete
'fields' => array(
[2357] Fix | Delete
[2358] Fix | Delete
array(
[2359] Fix | Delete
'id' => 'section_layout_l',
[2360] Fix | Delete
'type' => 'herald_section',
[2361] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_l.png' ) ).'"/>'.esc_html__( 'Layout L', 'herald' ),
[2362] Fix | Delete
'subtitle' => esc_html__( 'Manage options for posts displayed in Layout L', 'herald' ),
[2363] Fix | Delete
'indent' => false
[2364] Fix | Delete
),
[2365] Fix | Delete
[2366] Fix | Delete
array(
[2367] Fix | Delete
'id' => 'lay_l_cat',
[2368] Fix | Delete
'type' => 'switch',
[2369] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2370] Fix | Delete
'subtitle' => esc_html__( 'Check if you want to display a category link for posts in Layout L', 'herald' ),
[2371] Fix | Delete
'default' => herald_get_default_option( 'lay_l_cat' ),
[2372] Fix | Delete
),
[2373] Fix | Delete
[2374] Fix | Delete
array(
[2375] Fix | Delete
'id' => 'lay_l_meta',
[2376] Fix | Delete
'type' => 'sortable',
[2377] Fix | Delete
'mode' => 'checkbox',
[2378] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2379] Fix | Delete
'subtitle' => esc_html__( 'Check which meta data to show for posts in Layout L', 'herald' ),
[2380] Fix | Delete
'options' => herald_get_meta_opts(),
[2381] Fix | Delete
'default' => herald_get_default_option( 'lay_l_meta' ),
[2382] Fix | Delete
),
[2383] Fix | Delete
[2384] Fix | Delete
)
[2385] Fix | Delete
)
[2386] Fix | Delete
);
[2387] Fix | Delete
[2388] Fix | Delete
/* Featured Layouts */
[2389] Fix | Delete
Redux::setSection( $opt_name , array(
[2390] Fix | Delete
'icon' => 'el-icon-stop',
[2391] Fix | Delete
'title' => esc_html__( 'Featured Layouts', 'herald' ),
[2392] Fix | Delete
'heading' => false,
[2393] Fix | Delete
'fields' => array(
[2394] Fix | Delete
) )
[2395] Fix | Delete
);
[2396] Fix | Delete
[2397] Fix | Delete
/* FA Layout 1 */
[2398] Fix | Delete
Redux::setSection( $opt_name , array(
[2399] Fix | Delete
'icon' => '',
[2400] Fix | Delete
'title' => esc_html__( 'Layout 1', 'herald' ),
[2401] Fix | Delete
'heading' => false,
[2402] Fix | Delete
'subsection' => true,
[2403] Fix | Delete
'fields' => array(
[2404] Fix | Delete
[2405] Fix | Delete
array(
[2406] Fix | Delete
'id' => 'section_layout_fa1',
[2407] Fix | Delete
'type' => 'herald_section',
[2408] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa1.png' ) ).'"/>'.esc_html__( 'Layout 1', 'herald' ),
[2409] Fix | Delete
'subtitle' => esc_html__( 'Manage options for featured area Layout 1', 'herald' ),
[2410] Fix | Delete
'indent' => false
[2411] Fix | Delete
),
[2412] Fix | Delete
[2413] Fix | Delete
array(
[2414] Fix | Delete
'id' => 'lay_fa1_cat',
[2415] Fix | Delete
'type' => 'switch',
[2416] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2417] Fix | Delete
'default' => herald_get_default_option( 'lay_fa1_cat' ),
[2418] Fix | Delete
),
[2419] Fix | Delete
[2420] Fix | Delete
array(
[2421] Fix | Delete
'id' => 'lay_fa1_meta',
[2422] Fix | Delete
'type' => 'sortable',
[2423] Fix | Delete
'mode' => 'checkbox',
[2424] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2425] Fix | Delete
'options' => herald_get_meta_opts(),
[2426] Fix | Delete
'default' => herald_get_default_option( 'lay_fa1_meta' ),
[2427] Fix | Delete
),
[2428] Fix | Delete
[2429] Fix | Delete
array(
[2430] Fix | Delete
'id' => 'lay_fa1_excerpt',
[2431] Fix | Delete
'type' => 'switch',
[2432] Fix | Delete
'title' => esc_html__( 'Display text excerpt', 'herald' ),
[2433] Fix | Delete
'default' => herald_get_default_option( 'lay_fa1_excerpt' ),
[2434] Fix | Delete
),
[2435] Fix | Delete
[2436] Fix | Delete
[2437] Fix | Delete
array(
[2438] Fix | Delete
'id' => 'lay_fa1_excerpt_limit',
[2439] Fix | Delete
'type' => 'text',
[2440] Fix | Delete
'class' => 'small-text',
[2441] Fix | Delete
'title' => esc_html__( 'Excerpt limit', 'herald' ),
[2442] Fix | Delete
'desc' => esc_html__( 'Note: Value represents number of characters', 'herald' ),
[2443] Fix | Delete
'default' => herald_get_default_option( 'lay_fa1_excerpt_limit' ),
[2444] Fix | Delete
'validate' => 'numeric',
[2445] Fix | Delete
'required' => array( 'lay_fa1_excerpt', '=', true )
[2446] Fix | Delete
),
[2447] Fix | Delete
[2448] Fix | Delete
array(
[2449] Fix | Delete
'id' => 'lay_fa1_color',
[2450] Fix | Delete
'type' => 'switch',
[2451] Fix | Delete
'title' => esc_html__( 'Apply category color background overlay', 'herald' ),
[2452] Fix | Delete
'default' => herald_get_default_option( 'lay_fa1_color' ),
[2453] Fix | Delete
),
[2454] Fix | Delete
)
[2455] Fix | Delete
)
[2456] Fix | Delete
);
[2457] Fix | Delete
[2458] Fix | Delete
[2459] Fix | Delete
[2460] Fix | Delete
/* FA Layout 2 */
[2461] Fix | Delete
Redux::setSection( $opt_name , array(
[2462] Fix | Delete
'icon' => '',
[2463] Fix | Delete
'title' => esc_html__( 'Layout 2', 'herald' ),
[2464] Fix | Delete
'heading' => false,
[2465] Fix | Delete
'subsection' => true,
[2466] Fix | Delete
'fields' => array(
[2467] Fix | Delete
[2468] Fix | Delete
array(
[2469] Fix | Delete
'id' => 'section_layout_fa2',
[2470] Fix | Delete
'type' => 'herald_section',
[2471] Fix | Delete
'title' => '<img src="'.esc_url( get_parent_theme_file_uri( '/assets/img/admin/layout_fa2.png' ) ).'"/>'.esc_html__( 'Layout 2', 'herald' ),
[2472] Fix | Delete
'subtitle' => esc_html__( 'Manage options for featured area Layout 2', 'herald' ),
[2473] Fix | Delete
'indent' => false
[2474] Fix | Delete
),
[2475] Fix | Delete
[2476] Fix | Delete
array(
[2477] Fix | Delete
'id' => 'lay_fa2_cat',
[2478] Fix | Delete
'type' => 'switch',
[2479] Fix | Delete
'title' => esc_html__( 'Display category', 'herald' ),
[2480] Fix | Delete
'default' => herald_get_default_option( 'lay_fa2_cat' ),
[2481] Fix | Delete
),
[2482] Fix | Delete
[2483] Fix | Delete
array(
[2484] Fix | Delete
'id' => 'lay_fa2_meta',
[2485] Fix | Delete
'type' => 'sortable',
[2486] Fix | Delete
'mode' => 'checkbox',
[2487] Fix | Delete
'title' => esc_html__( 'Meta data', 'herald' ),
[2488] Fix | Delete
'options' => herald_get_meta_opts(),
[2489] Fix | Delete
'default' => herald_get_default_option( 'lay_fa2_meta' ),
[2490] Fix | Delete
),
[2491] Fix | Delete
[2492] Fix | Delete
array(
[2493] Fix | Delete
'id' => 'lay_fa2_excerpt',
[2494] Fix | Delete
'type' => 'switch',
[2495] Fix | Delete
'title' => esc_html__( 'Display text excerpt', 'herald' ),
[2496] Fix | Delete
'default' => herald_get_default_option( 'lay_fa2_excerpt' ),
[2497] Fix | Delete
),
[2498] Fix | Delete
[2499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function