示例#1
0
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<?php 
} else {
    ?>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php 
}
// is responsive
?>
	<?php 
if (dt_retina_on()) {
    dt_core_detect_retina_script();
}
?>
	<title><?php 
echo presscore_blog_title();
?>
</title>
	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
" />
	<!--[if IE]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<style type="text/css" id="static-stylesheet"></style>
	<?php 
echo dt_get_favicon(of_get_option('general-favicon', ''));
// tracking code
if (!is_preview()) {
示例#2
0
 /**
  * To enable support in existing themes without breaking backwards compatibility for wordpress < 4.1.X.
  *
  * @uses presscore_blog_title locatend in /inc/helpers/html-helpers.php
  * 
  * @since 2.0.0
  */
 function presscore_the_site_title()
 {
     echo '<title>' . presscore_blog_title() . "</title>\n";
 }