Support » Themes and Templates » What should I add to header.php?

  • Resolved jstudios


    I’m making my own framework to use for Clients and was wondering what should I put in header.php, specifically the <head> section.

    Currently I have this:

    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
          <title><?php wp_title(); ?></title>
          <link rel="profile" href="" />
          <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
          <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
          <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
    	<?php wp_enqueue_script( 'jquery' ); ?>
          <?php wp_head(); ?>

    Should I add/remove to that?

    Thanks in advance.

  • The topic ‘What should I add to header.php?’ is closed to new replies.