zachpbass
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding Custom Header to Vigilance ThemeAwesome, dremation (THE man!) got it fixed! I guess for “support references”, I’ll post the new header.php text below for anyone that wants it. Also just wanna send another huge “THANK YOU!!!!!!” to dremation, for flat out doing this for me. Talk about the kindness of strangers!
Anyway, here’s new header.php text. Enjoy!
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
“http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<html xml:lang=”en” xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<?php if( is_front_page() ) : ?>
<title><?php bloginfo(‘name’); ?> | <?php bloginfo(‘description’);?></title>
<?php elseif( is_404() ) : ?>
<title>Page Not Found | <?php bloginfo(‘name’); ?></title>
<?php elseif( is_search() ) : ?>
<title><?php print ‘Search Results for ‘ . wp_specialchars($s); ?> | <?php bloginfo(‘name’); ?></title>
<?php else : ?>
<title><?php wp_title($sep = ”); ?> | <?php bloginfo(‘name’);?></title>
<?php endif; ?><!– Basic Meta Data –>
<meta name=”copyright” content=”Vigilance Theme Design: Copyright 2008 – 2009 Jestro LLC” />
<meta http-equiv=”imagetoolbar” content=”no” />
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){} else {?>
<meta name=”robots” content=”noindex,follow” /><?php } ?><!– Favicon –>
<link rel=”shortcut icon” href=”<?php bloginfo(‘template_url’); ?>/images/favicon.ico” /><!–Stylesheets–>
<link href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” rel=”stylesheet” />
<!–[if lt IE 8]>
<link rel=”stylesheet” type=”text/css” media=”screen” href=”<?php bloginfo(‘template_url’); ?>/css/ie.css” />
<![endif]–>
<!–[if lte IE 6]>
<link rel=”stylesheet” type=”text/css” media=”screen” href=”<?php bloginfo(‘template_url’); ?>/css/ie6.css” />
<![endif]–><!–Wordpress–>
<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’); ?>” />
<!–WP Hook–><center><img src=”\wp-content\themes\vigilance\images\logo.jpg” width=”920″ height=”180″ /></center>
<?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
<?php wp_head(); ?>
</head>
<body>
<div id=”wrapper”>
<div id=”header” class=”clear”><div id=”description”>
<h2><?php bloginfo(‘description’); ?></h2>
</div><!–end description–>
<div id=”nav”>-
<li class=”page_item <?php if (is_front_page()) echo(‘current_page_item’);?>”>“>Home
<?php $exclude_pages = get_option(‘V_pages_to_exclude’); ?>
<?php wp_list_pages(‘depth=1&title_li=&exclude=’ . $exclude_pages); ?></div><!–end nav–>
</div><!–end header–>
<div id=”content” class=”pad”>
<?php include (TEMPLATEPATH . ‘/header-banner.php’); ?>
<?php if (is_front_page()) include (TEMPLATEPATH . ‘/header-alertbox.php’); ?>Forum: Themes and Templates
In reply to: Adding Custom Header to Vigilance ThemeHey dremation, thanks a lot for the help! That’s essentially what I’ve been tryin to do, but being a total noob, not 100% sure which guts to take out. Don’t feel any pressure to hammer this out for me, but if you really felt like it, I would probably be your best friend ever. :o)