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
/home/sportsfe.../httpdocs/wp-conte.../plugins/redux-fr.../sample/sections/typograp...
File: typography.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Framework typography config.
[2] Fix | Delete
* For full documentation, please visit: http://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux Framework
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
defined( 'ABSPATH' ) || exit;
[8] Fix | Delete
[9] Fix | Delete
Redux::set_section(
[10] Fix | Delete
$opt_name,
[11] Fix | Delete
array(
[12] Fix | Delete
'title' => esc_html__( 'Typography', 'your-textdomain-here' ),
[13] Fix | Delete
'id' => 'typography',
[14] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/typography.html" target="_blank">https://devs.redux.io/core-fields/typography.html</a>',
[15] Fix | Delete
'icon' => 'el el-font',
[16] Fix | Delete
'fields' => array(
[17] Fix | Delete
array(
[18] Fix | Delete
'id' => 'opt-typography-body',
[19] Fix | Delete
'type' => 'typography',
[20] Fix | Delete
'title' => esc_html__( 'Body Font', 'your-textdomain-here' ),
[21] Fix | Delete
'subtitle' => esc_html__( 'Specify the body font properties.', 'your-textdomain-here' ),
[22] Fix | Delete
'google' => true,
[23] Fix | Delete
'font_family_clear' => false,
[24] Fix | Delete
'default' => array(
[25] Fix | Delete
'color' => '#dd9933',
[26] Fix | Delete
'font-size' => '30px',
[27] Fix | Delete
'font-family' => 'Arial, Helvetica, sans-serif',
[28] Fix | Delete
'font-weight' => 'Normal',
[29] Fix | Delete
),
[30] Fix | Delete
'output' => array( 'p' ),
[31] Fix | Delete
),
[32] Fix | Delete
array(
[33] Fix | Delete
'id' => 'opt-typography',
[34] Fix | Delete
'type' => 'typography',
[35] Fix | Delete
'title' => esc_html__( 'Typography Site Description', 'your-textdomain-here' ),
[36] Fix | Delete
[37] Fix | Delete
// Use if you want to hook in your own CSS compiler.
[38] Fix | Delete
'compiler' => true,
[39] Fix | Delete
[40] Fix | Delete
// Select a backup non-google font in addition to a Google font.
[41] Fix | Delete
'font-backup' => true,
[42] Fix | Delete
[43] Fix | Delete
// Enable all Google Font style/weight variations to be added to the page.
[44] Fix | Delete
'all-styles' => true,
[45] Fix | Delete
'all-subsets' => true,
[46] Fix | Delete
'units' => 'px',
[47] Fix | Delete
'subtitle' => esc_html__( 'Typography option with each property can be called individually.', 'your-textdomain-here' ),
[48] Fix | Delete
'default' => array(
[49] Fix | Delete
'color' => '#333',
[50] Fix | Delete
'font-style' => '700',
[51] Fix | Delete
'font-family' => 'Abel',
[52] Fix | Delete
'google' => true,
[53] Fix | Delete
'font-size' => '33px',
[54] Fix | Delete
'line-height' => '40px',
[55] Fix | Delete
),
[56] Fix | Delete
'output' => array( 'h2.site-description, h2.entry-title, .site-description, h2.wp-block-post-title' ),
[57] Fix | Delete
// Disable google fonts.
[58] Fix | Delete
// 'google' => false,.
[59] Fix | Delete
[60] Fix | Delete
// Includes font-style and weight. Can use font-style or font-weight to declare.
[61] Fix | Delete
// 'font-style' => false,.
[62] Fix | Delete
[63] Fix | Delete
// Only appears if Google is true and subsets not set to false.
[64] Fix | Delete
// 'subsets' => false,.
[65] Fix | Delete
[66] Fix | Delete
// Hide or show the font size input.
[67] Fix | Delete
// 'font-size' => false,.
[68] Fix | Delete
[69] Fix | Delete
// Hide or show the line height input.
[70] Fix | Delete
// 'line-height' => false,.
[71] Fix | Delete
[72] Fix | Delete
// Hide or show the word spacing input. Defaults to false.
[73] Fix | Delete
// 'word-spacing' => true,.
[74] Fix | Delete
[75] Fix | Delete
// Hide or show the word spacing input. Defaults to false.
[76] Fix | Delete
// 'letter-spacing'=> true,.
[77] Fix | Delete
[78] Fix | Delete
// Hide or show the font color picker.
[79] Fix | Delete
// 'color' => false,.
[80] Fix | Delete
[81] Fix | Delete
// Disable the font previewer
[82] Fix | Delete
// 'preview' => false,.
[83] Fix | Delete
[84] Fix | Delete
// An array of CSS selectors in which to apply dynamically to this font style.
[85] Fix | Delete
// 'compiler' => array( 'h2.site-description-compiler' ),.
[86] Fix | Delete
[87] Fix | Delete
),
[88] Fix | Delete
array(
[89] Fix | Delete
'id' => 'opt-typography-body-shadow',
[90] Fix | Delete
'type' => 'typography',
[91] Fix | Delete
'title' => esc_html__( 'Title Font', 'your-textdomain-here' ),
[92] Fix | Delete
'subtitle' => esc_html__( 'Specify the body font properties.', 'your-textdomain-here' ),
[93] Fix | Delete
'google' => true,
[94] Fix | Delete
'font_family_clear' => false,
[95] Fix | Delete
'text-shadow' => true,
[96] Fix | Delete
'color_alpha' => true,
[97] Fix | Delete
'margin-top' => true,
[98] Fix | Delete
'margin-bottom' => true,
[99] Fix | Delete
'default' => array(
[100] Fix | Delete
'color' => '',
[101] Fix | Delete
'font-size' => '30px',
[102] Fix | Delete
'font-family' => 'Arial, Helvetica, sans-serif',
[103] Fix | Delete
'font-weight' => 'Normal',
[104] Fix | Delete
'margin-top' => '20px',
[105] Fix | Delete
'margin-bottom' => '20px',
[106] Fix | Delete
),
[107] Fix | Delete
'output' => array( '.site-title, .wp-block-site-title' ),
[108] Fix | Delete
),
[109] Fix | Delete
),
[110] Fix | Delete
)
[111] Fix | Delete
);
[112] Fix | Delete
[113] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function