<head> <meta charset="<?php bloginfo('charset'); ?> " /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="//use.typekit.net/mje6fya.js"></script> <!-- Enables the Webfont --> <script>try{Typekit.load();}catch(e){}</script> <?php if (is_front_page()) { echo pbt_get_seo_meta_elements(); echo pbt_get_microdata_meta_elements(); } else { echo pbt_get_microdata_meta_elements(); } ?> <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?> /favicon.png" /> <title> <?php global $page, $paged; wp_title('|', true, 'right'); bloginfo('name'); // Add the blog description for the home/front page. $site_description = get_bloginfo('description', 'display'); if ($site_description && (is_home() || is_front_page())) {
/** * adds metadata to head element */ function pbt_add_metadata() { if (is_front_page()) { echo pbt_get_seo_meta_elements(); echo pbt_get_microdata_meta_elements(); } else { echo pbt_get_microdata_meta_elements(); } }