adding keywords in header
-
hi
I would like to add keywords and meta description in my site header. can you tell me where to add it please. want keywords for main page and also for all pages. want it for my site http://www.topappsreviews.comhere is code for my /wp-content/themes/explicit/header.php
<!DOCTYPE HTML><html <?php language_attributes(); ?>>
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php if(!it_get_setting(‘responsive_disable’)) { ?>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0, user-scalable=no”>
<?php } ?><?php if (is_search()) { ?>
<meta name=”robots” content=”noindex, nofollow” />
<?php } ?><title><?php wp_title( ‘|’, true, ‘right’ );?></title>
<?php do_action(‘it_head’); ?>
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
<?php echo it_get_setting(‘analytics_code’); // google analytics code ?>
<?php wp_head(); ?>
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);ga(‘create’, ‘UA-51095002-3’, ‘auto’);
ga(‘send’, ‘pageview’);</script>
</head>
<?php $body_class = ‘it-background woocommerce bp-page’;
if(it_get_setting(‘responsive_disable’)) $body_class .= ‘ responsive-disable’; ?><body <?php body_class($body_class); ?>>
<div id=”ajax-error”></div>
<div id=”fb-root”></div>
<?php it_get_template_part(‘header’); # header bar containing logo and ad ?>
<?php it_get_template_part(‘sticky’); # the sticky bar ?>
<?php #determine how far down to push main site content
$header_disable = it_get_setting(‘logobar_disable_global’);
$sticky_disable = it_get_setting(‘sticky_disable_global’);
$cssheader = $header_disable ? ‘ no-header’ : ”;
$csssticky = $sticky_disable ? ‘ no-sticky’ : ”;
?><div class=”after-header<?php echo $cssheader . $csssticky; ?>”>
<?php echo it_background_ad(); #full screen background ad ?>
I don’t see where in that to add keywords and meta description. also is it okay to use more than seo plugins? I have two active
The topic ‘adding keywords in header’ is closed to new replies.