meta keywords and description

Discussion in 'Site & Server Administration' started by Sharebeast, Jan 31, 2016.

  1. #1
    Hi!


    With what script i can add meta keywords and description to each wordpress blog post?
    I don't want to use any plugin for that.
    Both figures should stay between
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    description
    keywords
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">

    Thanks!
     
    Sharebeast, Jan 31, 2016 IP
  2. Localnode

    Localnode Active Member

    Messages:
    33
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    65
    #2
    It's annoying, but doable.
    You will have to create custom fields for each post, and call their values in header.php, or you can also create a function to automatically use content/excerpt for meta description, and category/tag for meta keyword.

    Although I'd highly recommend YOAST SEO.

    Also take a look at https://codex.wordpress.org/Meta_Tags_in_WordPress
     
    Localnode, Jan 31, 2016 IP
  3. seoaceindia

    seoaceindia Banned

    Messages:
    439
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #3
    you must use plugin because manually its not getting perfect result.
     
    seoaceindia, Jan 31, 2016 IP