SEO plugin and theme meta

Discussion in 'Compass WordPress Theme' started by drkmbrown, Jun 7, 2014.

  1. drkmbrown

    drkmbrown Member

    Joined:
    Jul 2, 2013
    Messages:
    52
    Likes Received:
    0
    Yoast SEO plugin keeps telling me that my theme has a meta description that is interfering with SEO. How can I remove this?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,
    Go to header.php present in your theme directory and remove the code given below
    Code:
     <?php if (inkthemes_get_option('inkthemes_description') != '') { ?>
    <meta name="description" content="<?php echo inkthemes_get_option('inkthemes_description'); ?>" />
    <?php } else {
     
    }
    ?>

    This will solve your issue.


    Thanks & Regards
    Gourav Shrivastava
     

Share This Page