Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - qmcintosh

Pages: [1]
1
Help with WordPress / Help with header.php
« on: July 13, 2011, 01:09:47 AM »
Hello I am trying to change the logo for a wp template. They template said do this through header.php. below is what I have. can anyone tell me what I need to change.


<!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" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<title>
<?php if (is_home()) { ?>
<?php bloginfo('name'); ?>
-
<?php bloginfo('description'); ?>
<?php } else { ?>
<?php wp_title($sep = ''); ?>
-
<?php bloginfo('name'); ?>
<?php } ?>
</title>
<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<meta name="description" content="<?php bloginfo('description') ?>" />
<?php if(is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php }?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/superfish.css" media="screen" />
<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'); ?>" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverintent.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/script.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/swfobject/swfobject.js"></script>
<!-- Cufon -->
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/cufon-yui.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/liberation_sans_400.font.js"></script>
<script type="text/javascript">
Cufon.replace('h1')('h2')('h3')('h4')('.rss a.big');
</script>
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
  <div class="logo">
    <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>">
      <?php bloginfo('name'); ?>
      -
      <?php bloginfo('description'); ?>
      </a></h1>
  </div>
  <!--/logo -->
  <div class="topnav">
    <ul>
      <li class="<?php if (is_home()) { ?>current_page_item<?php } ?>"><a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">Home</a></li>
      <?php wp_list_pages('title_li='); ?>
    </ul>
    <div class="clr"></div>
  </div>
  <!--/topnav -->
  <div class="clr"></div>
  <?php include (TEMPLATEPATH . '/slide_block.php'); ?>
  <div id="nav1">
    <ul class="sf-menu sf-js-enabled">
      <?php wp_list_categories('title_li='); ?>
    </ul>
    <div class="clr"></div>
  </div>
</div>
<!--/header -->

Pages: [1]