function kt_fav_output_seo() { // Keep for fallback global $virtue_premium, $post; if (kadence_seo_switch()) { if (get_post_meta(get_the_ID(), '_kad_seo_description', true)) { echo '<meta name="description" content="' . get_post_meta(get_the_ID(), '_kad_seo_description', true) . '">'; } else { if (!empty($virtue_premium['seo_sitedescription'])) { echo '<meta name="description" content="' . $virtue_premium['seo_sitedescription'] . '">'; } } } if (isset($virtue_premium['virtue_custom_favicon']['url']) && !empty($virtue_premium['virtue_custom_favicon']['url'])) { echo '<link rel="shortcut icon" type="image/x-icon" href="' . esc_url($virtue_premium['virtue_custom_favicon']['url']) . '" />'; } }
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?> > <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?> > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?> > <!--<![endif]--> <head> <meta charset="utf-8"> <?php if (kadence_seo_switch()) { ?> <title><?php global $virtue_premium; global $post; if (get_post_meta(get_the_ID(), '_kad_seo_title', true)) { $title = get_post_meta(get_the_ID(), '_kad_seo_title', true); } if (!empty($title)) { echo $title; } else { if (!empty($virtue_premium['seo_sitetitle'])) { echo $virtue_premium['seo_sitetitle']; } else { wp_title('|', true, 'right'); }