Can someone help me – 2 minutes job
-
Hey guys.
Below is my header code.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('description'); } ?> — <?php bloginfo('name'); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/custom.css" type="text/css" media="screen" /> <!--[if lte IE 7]> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie7.css" /> <![endif]--> <!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" /> <![endif]--> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> <?php wp_head(); ?> </head> <body class="custom"> <div id="container"> <div id="page"> <ul id="nav"> <li><a href="<?php bloginfo('url'); ?>" rel="nofollow">Home</a></li> <?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?> <li class="rss"><a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe">SUBSCRIBE</a></li> </div> <div id="masthead"> <div id="logo"><a href="<?php bloginfo('url'); ?>"<?php if (is_home()) echo(' rel="nofollow"'); ?>><?php bloginfo('name'); ?></a></div> <?php if (is_home()) { ?><h1><?php bloginfo('description'); ?></h1><?php } else { ?><div id="tagline"><?php bloginfo('description'); ?></div><?php } ?> </div>
I’m just wondering (because I’m not too good on coding yet! (I’m only 16), whether someone could be so generous to show make the new code I can use, removing unnecessary PHP info etc.
If you think it’s too much work, it’s ok.
If you can help in any way at all, much appreciated.
Doocey.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Can someone help me – 2 minutes job’ is closed to new replies.