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/extensio...
File: shortcodes.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Redux Search Sample config.
[2] Fix | Delete
* For full documentation, please visit: http:https://devs.redux.io/
[3] Fix | Delete
*
[4] Fix | Delete
* @package Redux
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
defined( 'ABSPATH' ) || exit;
[8] Fix | Delete
[9] Fix | Delete
// --> Below this line not needed. This is just for demonstration purposes.
[10] Fix | Delete
$function = '<strong>' . esc_html__( 'Function', 'your-textdomain-here' ) . ': </strong>';
[11] Fix | Delete
$example = esc_html__( 'Example output:', 'your-textdomain-here' ) . ' ';
[12] Fix | Delete
[13] Fix | Delete
Redux::set_section(
[14] Fix | Delete
$opt_name,
[15] Fix | Delete
array(
[16] Fix | Delete
'customizer' => false,
[17] Fix | Delete
'title' => esc_html__( 'Shortcodes', 'your-textdomain-here' ),
[18] Fix | Delete
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-extensions/shortcodes.html" target="_blank">https://devs.redux.io/extensions/shortcodes.html</a>',
[19] Fix | Delete
'subsection' => true,
[20] Fix | Delete
'fields' => array(
[21] Fix | Delete
array(
[22] Fix | Delete
'id' => 'sc-bloginfo',
[23] Fix | Delete
'title' => esc_html__( '[bloginfo data="name"]', 'your-textdomain-here' ),
[24] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("name")</code>',
[25] Fix | Delete
'desc' => esc_html__( 'Displays the "Site Title" set in Settings > General. This data is retrieved from the "blogname" record in the wp_options table.', 'your-textdomain-here' ),
[26] Fix | Delete
'type' => 'raw',
[27] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="name"]</strong>' ),
[28] Fix | Delete
'full_width' => false,
[29] Fix | Delete
),
[30] Fix | Delete
array(
[31] Fix | Delete
'id' => 'sc-description',
[32] Fix | Delete
'title' => esc_html__( '[bloginfo data="description"]', 'your-textdomain-here' ),
[33] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("description")</code>',
[34] Fix | Delete
'desc' => esc_html__( 'Displays the "Tagline" set in Settings > General. This data is retrieved from the "blogdescription" record in the wp_options table.', 'your-textdomain-here' ),
[35] Fix | Delete
'type' => 'raw',
[36] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="description"]</strong>' ),
[37] Fix | Delete
'full_width' => false,
[38] Fix | Delete
),
[39] Fix | Delete
array(
[40] Fix | Delete
'id' => 'sc-wpurl',
[41] Fix | Delete
'title' => esc_html__( '[bloginfo data="wpurl"]', 'your-textdomain-here' ),
[42] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("wpurl")</code>',
[43] Fix | Delete
'desc' => esc_html__( 'Displays the "WordPress address (URL)" set in Settings > General. This data is retrieved from the "siteurl" record in the wp_options table. Consider using *root_url* instead, especially for multi-site configurations using paths instead of subdomains (it will return the root site not the current sub-site).', 'your-textdomain-here' ),
[44] Fix | Delete
'type' => 'raw',
[45] Fix | Delete
'markdown' => true,
[46] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="wpurl"]</strong>' ),
[47] Fix | Delete
'full_width' => false,
[48] Fix | Delete
),
[49] Fix | Delete
array(
[50] Fix | Delete
'id' => 'sc-rooturl',
[51] Fix | Delete
'title' => esc_html__( '[bloginfo data="root_url"]', 'your-textdomain-here' ),
[52] Fix | Delete
'subtitle' => $function . '<code>site_url()</code>',
[53] Fix | Delete
'desc' => esc_html__( 'Return the root site, not the current sub-site.', 'your-textdomain-here' ),
[54] Fix | Delete
'type' => 'raw',
[55] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="root_url"]</strong>' ),
[56] Fix | Delete
'full_width' => false,
[57] Fix | Delete
),
[58] Fix | Delete
array(
[59] Fix | Delete
'id' => 'sc-url',
[60] Fix | Delete
'title' => esc_html__( '[bloginfo data="url"]', 'your-textdomain-here' ),
[61] Fix | Delete
'subtitle' => $function . '<code>home_url()</code>',
[62] Fix | Delete
'desc' => esc_html__( 'Displays the "Site address (URL)" set in Settings > General. This data is retrieved from the "home" record in the wp_options table.', 'your-textdomain-here' ),
[63] Fix | Delete
'type' => 'raw',
[64] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="url"]</strong>' ),
[65] Fix | Delete
'full_width' => false,
[66] Fix | Delete
),
[67] Fix | Delete
array(
[68] Fix | Delete
'id' => 'sc-adminemail',
[69] Fix | Delete
'title' => esc_html__( '[bloginfo data="admin_email"]', 'your-textdomain-here' ),
[70] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("admin_email")</code>',
[71] Fix | Delete
'desc' => esc_html__( 'Displays the "E-mail address" set in Settings > General. This data is retrieved from the "admin_email" record in the wp_options table.', 'your-textdomain-here' ),
[72] Fix | Delete
'type' => 'raw',
[73] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="admin_email"]</strong>' ),
[74] Fix | Delete
'full_width' => false,
[75] Fix | Delete
),
[76] Fix | Delete
array(
[77] Fix | Delete
'id' => 'sc-charset',
[78] Fix | Delete
'title' => esc_html__( '[bloginfo data="charset"]', 'your-textdomain-here' ),
[79] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("charset")</code>',
[80] Fix | Delete
'desc' => esc_html__( 'Displays the "Encoding for pages and feeds" set in Settings > Reading. This data is retrieved from the "blog_charset" record in the wp_options.', 'your-textdomain-here' ),
[81] Fix | Delete
'type' => 'raw',
[82] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="charset"]</strong>' ),
[83] Fix | Delete
'full_width' => false,
[84] Fix | Delete
),
[85] Fix | Delete
array(
[86] Fix | Delete
'id' => 'sc-version',
[87] Fix | Delete
'title' => esc_html__( '[bloginfo data="version"]', 'your-textdomain-here' ),
[88] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("version")</code>',
[89] Fix | Delete
'desc' => esc_html__( 'Displays the WordPress Version you use. This data is retrieved from the $wp_version variable set in wp-includes/version.php.', 'your-textdomain-here' ),
[90] Fix | Delete
'type' => 'raw',
[91] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="version"]</strong>' ),
[92] Fix | Delete
'full_width' => false,
[93] Fix | Delete
),
[94] Fix | Delete
array(
[95] Fix | Delete
'id' => 'sc-htmltype',
[96] Fix | Delete
'title' => esc_html__( '[bloginfo data="html_type"]', 'your-textdomain-here' ),
[97] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("html_type")</code>',
[98] Fix | Delete
'desc' => esc_html__( 'Displays the Content-Type of WordPress HTML pages (default: "text/html"). This data is retrieved from the "html_type" record in the wp_options table. Themes and plugins can override the default value using the pre_option_html_type filter.', 'your-textdomain-here' ),
[99] Fix | Delete
'type' => 'raw',
[100] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="html_type"]</strong>' ),
[101] Fix | Delete
'full_width' => false,
[102] Fix | Delete
),
[103] Fix | Delete
array(
[104] Fix | Delete
'id' => 'sc-multi',
[105] Fix | Delete
'title' => esc_html__( '[bloginfo data="is_multisite"]', 'your-textdomain-here' ),
[106] Fix | Delete
'subtitle' => $function . '<code>is_multisite()</code>',
[107] Fix | Delete
'desc' => esc_html__( 'Displays true/false check if WordPress is running in multisite mode.', 'your-textdomain-here' ),
[108] Fix | Delete
'type' => 'raw',
[109] Fix | Delete
'content' => $example . ( do_shortcode( '<strong>[bloginfo data="is_multisite"]</strong>' ) ),
[110] Fix | Delete
'full_width' => false,
[111] Fix | Delete
),
[112] Fix | Delete
array(
[113] Fix | Delete
'id' => 'sc-rtl',
[114] Fix | Delete
'title' => esc_html__( '[bloginfo data="text_direction"]', 'your-textdomain-here' ),
[115] Fix | Delete
'subtitle' => $function . '<code>is_rtl()</code>',
[116] Fix | Delete
'desc' => esc_html__( 'Displays true/false check if the Text Direction of WordPress HTML pages is left instead of right.', 'your-textdomain-here' ),
[117] Fix | Delete
'type' => 'raw',
[118] Fix | Delete
'content' => $example . ( do_shortcode( '<strong>[bloginfo data="text_direction"]</strong>' ) ),
[119] Fix | Delete
'full_width' => false,
[120] Fix | Delete
),
[121] Fix | Delete
array(
[122] Fix | Delete
'id' => 'sc-lang',
[123] Fix | Delete
'title' => esc_html__( '[bloginfo data="language"]', 'your-textdomain-here' ),
[124] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("language")</code>',
[125] Fix | Delete
'desc' => esc_html__( 'Displays the language of WordPress.', 'your-textdomain-here' ),
[126] Fix | Delete
'type' => 'raw',
[127] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="language"]</strong>' ),
[128] Fix | Delete
'full_width' => false,
[129] Fix | Delete
),
[130] Fix | Delete
array(
[131] Fix | Delete
'id' => 'sc-stylesheet-url',
[132] Fix | Delete
'title' => esc_html__( '[bloginfo data="stylesheet_url"]', 'your-textdomain-here' ),
[133] Fix | Delete
'subtitle' => $function . '<code>get_stylesheet_uri()</code>',
[134] Fix | Delete
'desc' => esc_html__( 'Displays the primary CSS (usually style.css) file URL of the active theme.', 'your-textdomain-here' ),
[135] Fix | Delete
'type' => 'raw',
[136] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="stylesheet_url"]</strong>' ),
[137] Fix | Delete
'full_width' => false,
[138] Fix | Delete
),
[139] Fix | Delete
array(
[140] Fix | Delete
'id' => 'sc-stylesheet-dir',
[141] Fix | Delete
'title' => esc_html__( '[bloginfo data="stylesheet_directory"]', 'your-textdomain-here' ),
[142] Fix | Delete
'subtitle' => $function . '<code>get_stylesheet_directory()</code>',
[143] Fix | Delete
'desc' => esc_html__( 'Displays the stylesheet directory of the active theme.', 'your-textdomain-here' ),
[144] Fix | Delete
'type' => 'raw',
[145] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="stylesheet_directory"]</strong>' ),
[146] Fix | Delete
'full_width' => false,
[147] Fix | Delete
),
[148] Fix | Delete
array(
[149] Fix | Delete
'id' => 'sc-template-url',
[150] Fix | Delete
'title' => esc_html__( '[bloginfo data="template_url"]', 'your-textdomain-here' ),
[151] Fix | Delete
'subtitle' => $function . '<code>get_template_directory_uri()</code>',
[152] Fix | Delete
'desc' => esc_html__( 'Displays the "Site Title" set in Settings > General. This data is retrieved from the "blogname" record in the wp_options table.', 'your-textdomain-here' ),
[153] Fix | Delete
'type' => 'raw',
[154] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="template_url"]</strong>' ),
[155] Fix | Delete
'full_width' => false,
[156] Fix | Delete
),
[157] Fix | Delete
array(
[158] Fix | Delete
'id' => 'sc-child-template-url',
[159] Fix | Delete
'title' => esc_html__( '[bloginfo data="child_template_url"]', 'your-textdomain-here' ),
[160] Fix | Delete
'subtitle' => $function . '<code>get_stylesheet_directory_uri()</code>',
[161] Fix | Delete
'desc' => esc_html__( 'Child template URI.', 'your-textdomain-here' ),
[162] Fix | Delete
'type' => 'raw',
[163] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="child_template_url"]</strong>' ),
[164] Fix | Delete
'full_width' => false,
[165] Fix | Delete
),
[166] Fix | Delete
array(
[167] Fix | Delete
'id' => 'sc-template-dir',
[168] Fix | Delete
'title' => esc_html__( '[bloginfo data="template_directory"]', 'your-textdomain-here' ),
[169] Fix | Delete
'subtitle' => $function . '<code>get_template_directory()</code>',
[170] Fix | Delete
'desc' => esc_html__( 'Template directory.', 'your-textdomain-here' ),
[171] Fix | Delete
'type' => 'raw',
[172] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="template_directory"]</strong>' ),
[173] Fix | Delete
'full_width' => false,
[174] Fix | Delete
),
[175] Fix | Delete
array(
[176] Fix | Delete
'id' => 'sc-child-template-dir',
[177] Fix | Delete
'title' => esc_html__( '[bloginfo data="child_template_directory"]', 'your-textdomain-here' ),
[178] Fix | Delete
'subtitle' => $function . '<code>get_stylesheet_directory()</code>',
[179] Fix | Delete
'desc' => esc_html__( 'Child template Directory.', 'your-textdomain-here' ),
[180] Fix | Delete
'type' => 'raw',
[181] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="child_template_directory"]</strong>' ),
[182] Fix | Delete
'full_width' => false,
[183] Fix | Delete
),
[184] Fix | Delete
array(
[185] Fix | Delete
'id' => 'sc-pingback-url',
[186] Fix | Delete
'title' => esc_html__( '[bloginfo data="pingback_url"]', 'your-textdomain-here' ),
[187] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("pingback_url")</code>',
[188] Fix | Delete
'desc' => esc_html__( 'Displays the Pingback XML-RPC file URL (xmlrpc.php).', 'your-textdomain-here' ),
[189] Fix | Delete
'type' => 'raw',
[190] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="pingback_url"]</strong>' ),
[191] Fix | Delete
'full_width' => false,
[192] Fix | Delete
),
[193] Fix | Delete
array(
[194] Fix | Delete
'id' => 'sc-atom-url',
[195] Fix | Delete
'title' => esc_html__( '[bloginfo data="atom_url"]', 'your-textdomain-here' ),
[196] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("atom_url")</code>',
[197] Fix | Delete
'desc' => esc_html__( 'Displays the Atom feed URL (/feed/atom).', 'your-textdomain-here' ),
[198] Fix | Delete
'type' => 'raw',
[199] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="atom_url"]</strong>' ),
[200] Fix | Delete
'full_width' => false,
[201] Fix | Delete
),
[202] Fix | Delete
array(
[203] Fix | Delete
'id' => 'sc-rdf-url',
[204] Fix | Delete
'title' => esc_html__( '[bloginfo data="rdf_url"]', 'your-textdomain-here' ),
[205] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("rdf_url")</code>',
[206] Fix | Delete
'desc' => esc_html__( 'Displays the RDF/RSS 1.0 feed URL (/feed/rfd).', 'your-textdomain-here' ),
[207] Fix | Delete
'type' => 'raw',
[208] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="rdf_url"]</strong>' ),
[209] Fix | Delete
'full_width' => false,
[210] Fix | Delete
),
[211] Fix | Delete
array(
[212] Fix | Delete
'id' => 'sc-rss-url',
[213] Fix | Delete
'title' => esc_html__( '[bloginfo data="rss_url"]', 'your-textdomain-here' ),
[214] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("rss_url")</code>',
[215] Fix | Delete
'desc' => esc_html__( 'Displays the RSS 0.92 feed URL (/feed/rss).', 'your-textdomain-here' ),
[216] Fix | Delete
'type' => 'raw',
[217] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="rss_url"]</strong>' ),
[218] Fix | Delete
'full_width' => false,
[219] Fix | Delete
),
[220] Fix | Delete
array(
[221] Fix | Delete
'id' => 'sc-rss2-url',
[222] Fix | Delete
'title' => esc_html__( '[bloginfo data="rss2_url"]', 'your-textdomain-here' ),
[223] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("rss2_url")</code>',
[224] Fix | Delete
'desc' => esc_html__( 'Displays the RSS 2.0 feed URL (/feed).', 'your-textdomain-here' ),
[225] Fix | Delete
'type' => 'raw',
[226] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="rss2_url"]</strong>' ),
[227] Fix | Delete
'full_width' => false,
[228] Fix | Delete
),
[229] Fix | Delete
array(
[230] Fix | Delete
'id' => 'sc-comments-atom-url',
[231] Fix | Delete
'title' => esc_html__( '[bloginfo data="comments_atom_url"]', 'your-textdomain-here' ),
[232] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("comments_atom_url")</code>',
[233] Fix | Delete
'desc' => esc_html__( 'Displays the comments Atom feed URL (/comments/feed).', 'your-textdomain-here' ),
[234] Fix | Delete
'type' => 'raw',
[235] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="comments_atom_url"]</strong>' ),
[236] Fix | Delete
'full_width' => false,
[237] Fix | Delete
),
[238] Fix | Delete
array(
[239] Fix | Delete
'id' => 'sc-comments-rss2-url',
[240] Fix | Delete
'title' => esc_html__( '[bloginfo data="comments_rss2_url"]', 'your-textdomain-here' ),
[241] Fix | Delete
'subtitle' => $function . '<code>get_bloginfo("comments_rss2_url")</code>',
[242] Fix | Delete
'desc' => esc_html__( 'Displays the comments RSS 2.0 feed URL (/comments/feed).', 'your-textdomain-here' ),
[243] Fix | Delete
'type' => 'raw',
[244] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="comments_rss2_url"]</strong>' ),
[245] Fix | Delete
'full_width' => false,
[246] Fix | Delete
),
[247] Fix | Delete
array(
[248] Fix | Delete
'id' => 'sc-login-url',
[249] Fix | Delete
'title' => esc_html__( '[bloginfo data="login_url"]', 'your-textdomain-here' ),
[250] Fix | Delete
'subtitle' => $function . '<code>wp_login_url()</code>',
[251] Fix | Delete
'desc' => esc_html__( 'Returns the WordPress login URL.', 'your-textdomain-here' ),
[252] Fix | Delete
'type' => 'raw',
[253] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="login_url"]</strong>' ),
[254] Fix | Delete
'full_width' => false,
[255] Fix | Delete
),
[256] Fix | Delete
array(
[257] Fix | Delete
'id' => 'sc-logout-url',
[258] Fix | Delete
'title' => esc_html__( '[bloginfo data="logout_url"]', 'your-textdomain-here' ),
[259] Fix | Delete
'subtitle' => $function . '<code>wp_logout_url()</code>',
[260] Fix | Delete
'desc' => esc_html__( 'Returns the WordPress logout URL.', 'your-textdomain-here' ),
[261] Fix | Delete
'type' => 'raw',
[262] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="logout_url"]</strong>' ),
[263] Fix | Delete
'full_width' => false,
[264] Fix | Delete
),
[265] Fix | Delete
array(
[266] Fix | Delete
'id' => 'sc-register-url',
[267] Fix | Delete
'title' => esc_html__( '[bloginfo data="register_url"]', 'your-textdomain-here' ),
[268] Fix | Delete
'subtitle' => $function . '<code>wp_registration_url()</code>',
[269] Fix | Delete
'desc' => esc_html__( 'Returns the WordPress register URL.', 'your-textdomain-here' ),
[270] Fix | Delete
'type' => 'raw',
[271] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="register_url"]</strong>' ),
[272] Fix | Delete
'full_width' => false,
[273] Fix | Delete
),
[274] Fix | Delete
array(
[275] Fix | Delete
'id' => 'sc-lost-pw-url',
[276] Fix | Delete
'title' => esc_html__( '[bloginfo data="lost_password_url"]', 'your-textdomain-here' ),
[277] Fix | Delete
'subtitle' => $function . '<code>wp_lostpassword_url()</code>',
[278] Fix | Delete
'desc' => esc_html__( 'Returns the WordPress lost password URL.', 'your-textdomain-here' ),
[279] Fix | Delete
'type' => 'raw',
[280] Fix | Delete
'content' => $example . do_shortcode( '<strong>[bloginfo data="lost_password_url"]</strong>' ),
[281] Fix | Delete
'full_width' => false,
[282] Fix | Delete
),
[283] Fix | Delete
array(
[284] Fix | Delete
'id' => 'opt-divide-1',
[285] Fix | Delete
'type' => 'divide',
[286] Fix | Delete
),
[287] Fix | Delete
array(
[288] Fix | Delete
'id' => 'sc-date',
[289] Fix | Delete
'title' => esc_html__( '[date data="Y"]', 'your-textdomain-here' ),
[290] Fix | Delete
'subtitle' => $function . '<code>date("Y")</code>',
[291] Fix | Delete
// translators: %1$s: PHP Date Format URL.
[292] Fix | Delete
'desc' => sprintf( esc_html__( 'Returns the current year. Any date format characters as specified by the %1$s may be used.', 'your-textdomain-here' ), '<a href="http://php.net/manual/en/function.date.php" target="_blank">' . esc_html__( 'PHP Date Format Table', 'your-textdomain-here' ) . '</a>' ),
[293] Fix | Delete
'type' => 'raw',
[294] Fix | Delete
'content' => $example . do_shortcode( '<strong>[date data="Y"]</strong>' ),
[295] Fix | Delete
'full_width' => false,
[296] Fix | Delete
),
[297] Fix | Delete
array(
[298] Fix | Delete
'id' => 'opt-divide-2',
[299] Fix | Delete
'type' => 'divide',
[300] Fix | Delete
),
[301] Fix | Delete
array(
[302] Fix | Delete
'id' => 'sc-theme-name',
[303] Fix | Delete
'title' => esc_html__( '[themeinfo data="name"]', 'your-textdomain-here' ),
[304] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Name")</code>',
[305] Fix | Delete
'desc' => esc_html__( 'Theme name as given in theme\'s style.css.', 'your-textdomain-here' ),
[306] Fix | Delete
'type' => 'raw',
[307] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="name"]</strong>' ),
[308] Fix | Delete
'full_width' => false,
[309] Fix | Delete
),
[310] Fix | Delete
array(
[311] Fix | Delete
'id' => 'sc-theme-uri',
[312] Fix | Delete
'title' => esc_html__( '[themeinfo data="theme_uri"]', 'your-textdomain-here' ),
[313] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("ThemeURI")</code>',
[314] Fix | Delete
'desc' => esc_html__( 'The URL to the theme\'s directory.', 'your-textdomain-here' ),
[315] Fix | Delete
'type' => 'raw',
[316] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="theme_uri"]</strong>' ),
[317] Fix | Delete
'full_width' => false,
[318] Fix | Delete
),
[319] Fix | Delete
array(
[320] Fix | Delete
'id' => 'sc-theme-desc',
[321] Fix | Delete
'title' => esc_html__( '[themeinfo data="description"]', 'your-textdomain-here' ),
[322] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Description")</code>',
[323] Fix | Delete
'desc' => esc_html__( 'The description of the theme.', 'your-textdomain-here' ),
[324] Fix | Delete
'type' => 'raw',
[325] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="description"]</strong>' ),
[326] Fix | Delete
'full_width' => false,
[327] Fix | Delete
),
[328] Fix | Delete
array(
[329] Fix | Delete
'id' => 'sc-theme-author',
[330] Fix | Delete
'title' => esc_html__( '[themeinfo data="author"]', 'your-textdomain-here' ),
[331] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Author")</code>',
[332] Fix | Delete
'desc' => esc_html__( 'The theme\'s author.', 'your-textdomain-here' ),
[333] Fix | Delete
'type' => 'raw',
[334] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="author"]</strong>' ),
[335] Fix | Delete
'full_width' => false,
[336] Fix | Delete
),
[337] Fix | Delete
array(
[338] Fix | Delete
'id' => 'sc-theme-author-uri',
[339] Fix | Delete
'title' => esc_html__( '[themeinfo data="author_uri"]', 'your-textdomain-here' ),
[340] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("AuthorURI")</code>',
[341] Fix | Delete
'desc' => esc_html__( 'The website of the theme author.', 'your-textdomain-here' ),
[342] Fix | Delete
'type' => 'raw',
[343] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="author_uri"]</strong>' ),
[344] Fix | Delete
'full_width' => false,
[345] Fix | Delete
),
[346] Fix | Delete
array(
[347] Fix | Delete
'id' => 'sc-theme-version',
[348] Fix | Delete
'title' => esc_html__( '[themeinfo data="version"]', 'your-textdomain-here' ),
[349] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Version")</code>',
[350] Fix | Delete
'desc' => esc_html__( 'The version of the theme.', 'your-textdomain-here' ),
[351] Fix | Delete
'type' => 'raw',
[352] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="version"]</strong>' ),
[353] Fix | Delete
'full_width' => false,
[354] Fix | Delete
),
[355] Fix | Delete
array(
[356] Fix | Delete
'id' => 'sc-theme-template',
[357] Fix | Delete
'title' => esc_html__( '[themeinfo data="template"]', 'your-textdomain-here' ),
[358] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Template")</code>',
[359] Fix | Delete
'desc' => esc_html__( 'The folder name of the current theme.', 'your-textdomain-here' ),
[360] Fix | Delete
'type' => 'raw',
[361] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="template"]</strong>' ),
[362] Fix | Delete
'full_width' => false,
[363] Fix | Delete
),
[364] Fix | Delete
array(
[365] Fix | Delete
'id' => 'sc-theme-status',
[366] Fix | Delete
'title' => esc_html__( '[themeinfo data="status"]', 'your-textdomain-here' ),
[367] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Status")</code>',
[368] Fix | Delete
'desc' => esc_html__( 'If the theme is published.', 'your-textdomain-here' ),
[369] Fix | Delete
'type' => 'raw',
[370] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="status"]</strong>' ),
[371] Fix | Delete
'full_width' => false,
[372] Fix | Delete
),
[373] Fix | Delete
array(
[374] Fix | Delete
'id' => 'sc-theme-tags',
[375] Fix | Delete
'title' => esc_html__( '[themeinfo data="tags"]', 'your-textdomain-here' ),
[376] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("Tags")</code>',
[377] Fix | Delete
'desc' => esc_html__( 'Tags used to describe the theme.', 'your-textdomain-here' ),
[378] Fix | Delete
'type' => 'raw',
[379] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="tags"]</strong>' ),
[380] Fix | Delete
'full_width' => false,
[381] Fix | Delete
),
[382] Fix | Delete
array(
[383] Fix | Delete
'id' => 'sc-theme-text-domain',
[384] Fix | Delete
'title' => esc_html__( '[themeinfo data="text_domain"]', 'your-textdomain-here' ),
[385] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("TextDomain")</code>',
[386] Fix | Delete
'desc' => esc_html__( 'The text domain used in the theme for translation purposes.', 'your-textdomain-here' ),
[387] Fix | Delete
'type' => 'raw',
[388] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="text_domain"]</strong>' ),
[389] Fix | Delete
'full_width' => false,
[390] Fix | Delete
),
[391] Fix | Delete
array(
[392] Fix | Delete
'id' => 'sc-theme-domain-path',
[393] Fix | Delete
'title' => esc_html__( '[themeinfo data="domain_path"]', 'your-textdomain-here' ),
[394] Fix | Delete
'subtitle' => $function . '<code>$theme_info->get("DomainPath")</code>',
[395] Fix | Delete
'desc' => esc_html__( 'Path to the theme translation files.', 'your-textdomain-here' ),
[396] Fix | Delete
'type' => 'raw',
[397] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="domain_path"]</strong>' ),
[398] Fix | Delete
'full_width' => false,
[399] Fix | Delete
),
[400] Fix | Delete
array(
[401] Fix | Delete
'id' => 'sc-theme-is-child',
[402] Fix | Delete
'title' => esc_html__( '[themeinfo data="is_child"]', 'your-textdomain-here' ),
[403] Fix | Delete
'subtitle' => $function . '<code>is_child_theme()</code>',
[404] Fix | Delete
'desc' => esc_html__( 'True/False return for child theme active check (Blank indicates False).', 'your-textdomain-here' ),
[405] Fix | Delete
'type' => 'raw',
[406] Fix | Delete
'content' => $example . do_shortcode( '<strong>[themeinfo data="is_child"]</strong>' ),
[407] Fix | Delete
'full_width' => false,
[408] Fix | Delete
),
[409] Fix | Delete
[410] Fix | Delete
),
[411] Fix | Delete
)
[412] Fix | Delete
);
[413] Fix | Delete
[414] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function