Posted By

SilverFirefly on 12/18/09


Tagged

xhtml wordpress


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

SilverFirefly
pauloc
melihbuyuk


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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  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  

Comments

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

http://codex.wordpress.org/FunctionReference/wphead

You need to login to post a comment.