How do I change the header?
-
Hey..quick question. How do I change the header? I want to add a picture which is also a link to the home page. Thanks…and btw how do people learn about this wordpress programming language?
here is the header PHP..
<!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’); ?>” />
<?php if (is_home()) { ?>
<title><?php bloginfo(‘name’); ?> — <?php bloginfo(‘description’); ?></title><?php } elseif(is_category() or is_archive() or is_page() or is_single() or is_404() ) { ?>
<title><?php wp_title(”); ?> — <?php bloginfo(‘name’); ?></title><?php } elseif(is_search() ) { ?>
<title>Serach results — <?php bloginfo(‘name’); ?></title><?php } else { ?>
<title> <?php wp_title(); ?> — <?php bloginfo(‘name’); ?></title>
<?php } ?><meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<link rel=”shortcut icon” href=”<?php bloginfo(‘template_url’); ?>/favicon.ico” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?>
</head>
<body>
<div id=”wrapper”>
<div id=”header”>
<ul id=”nav”>
<li class=”page_item”>“>Home
<?php wp_list_pages(‘depth=1&title_li=’); ?>
<p class=”description”>
<?php bloginfo(‘description’); ?>
</p><h1>“><?php bloginfo(‘name’); ?></h1>
</div>
- The topic ‘How do I change the header?’ is closed to new replies.