Posted By

SilverFirefly on 12/18/09


xhtml wordpress

Versions (?)

Who likes this?

3 people have marked this snippet as a favorite


WordPress Header.php Template

 / Published in: XHTML

This is the standard template to use in your header.php (WordPress).

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
  2. <html xmlns="" <?php language_attributes(); ?>>
  3. <head profile="">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
  6. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  7. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  8. </head>

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Farhan on August 18, 2010

It's Missing

Posted By: SilverFirefly on December 24, 2010

It's missing what?

Posted By: Farhan on December 29, 2010

It needs to come before

Posted By: Farhan on December 29, 2010

Hmm i don't know how to post code here, i write the code but it vanishes when i post

it needs to have wp_head(); before

Posted By: Farhan on December 29, 2010

You need to login to post a comment.