• 24x7 live wp Support

  • Beth December 23, 2017
    Add Meta Tags

    This article will help you to understand how to add meta tags in wordpress.

    Why I need to add meta tags in wordpress?

    These are following reason to add meta tag in wordpress

    • To optimize your web site for more efficient indexing of your content by search engines and easier sharing on social networks.
    • To title, headings, content, and Meta Tags such as description or keywords.

    How can do it myself without impacting websites?

    Meta Description is a summary of a page’s content, you can add meta tag manually, you can also use Theme template files or WordPress Plugins.

     

    • Adding Meta Tag manually

     

    1: In your Dashboard, open your theme

    Log into your dashboard and select Appearance -> Editor ( to access your current theme’s code).

     

    meta tags

    2: Open your Header file

    Find the file titled “Header or header.php” on the right hand side files in your template. This is the file you will need to edit or to add meta tags.

    3: Add the meta tag

    In the head tag of the header enter the meta tag information. The meta tags will use Swift type’s approved syntax:

    <meta class=”swiftype” name=”[field name]” data-type=”[field type]” content=”[field content

    Example :

    Below this is an example meta tag for 24*7 WP Support. This may need to be edited depending on your specific theme and site.

    //  24*7 WP Support

    <meta class=”swiftype” name=”name” data-type=”string” content=”<?php echo get_the_page_meta(’email’, $post->post_page); ?>”>

    Difficulty level [Easy, Medium, Hard].

    Medium

    Total time consumed.

    30 min

    This is for WordPress.com or Org ?

     

    Summary
    How to add meta tags in wordpress
    Article Name
    How to add meta tags in wordpress
    Description
    Meta Description is a summary of a page’s content, you can add meta tag manually, you can also use Theme template files or WordPress Plugins.
    Author
    Publisher Name
    WordPress Support LLC
    Publisher Logo

    Leave a comment.

    Your email address will not be published. Required fields are marked*

    error: Content is protected !!