WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] What should I add to header.php? (1 post)

  1. jstudios
    Member
    Posted 1 year ago #

    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:

    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
          <title><?php wp_title(); ?></title>
          <link rel="profile" href="http://gmpg.org/xfn/11" />
          <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(); ?>
    </head>

    Should I add/remove to that?

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic