Standard solution for developing WordPress header. SEO friendly and can be copied every time new template is created. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?></title> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/img/styles.css" media="all" /> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/img/styles_screen.css" media="screen, projection" /> <link rel="shortcut icon" type="image/ico" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" /> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js"></script> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scripts.js"></script> </head>
XHTML SEO friendly sample header
by
Tags:
Leave a Reply
You must be logged in to post a comment.