WordPress.org

Ready to get started?Download WordPress

Forums

What this code stands for? (4 posts)

  1. XLFR
    Member
    Posted 6 months ago #

    Hi,
    I tried looking for something in the header.php file and saw this
    code:

    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta name="viewport" content="width=device-width" />
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
    	<link rel="profile" href="http://gmpg.org/xfn/11" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<?php wp_head(); ?>
    </head>

    What is the purpose of this code?
    I have Yoast SEO plugin if it makes any difference.

  2. virendra930
    Member
    Posted 6 months ago #

    this code is used for title and meta tags but when you used plugin for SEO it`ll override with plugins setting..

  3. XLFR
    Member
    Posted 6 months ago #

    So I need to delete it?

    If I want to add meta description and meta keywords
    I need to delete those lines first?

  4. virendra930
    Member
    Posted 6 months ago #

    no you dont need to delete that code just add meta descriotion and keywords in plugin setting..

Reply

You must log in to post.

About this Topic

Tags

No tags yet.