Title: header.php
Last modified: February 7, 2017

---

# header.php

 *  [sidney56](https://wordpress.org/support/users/sidney56/)
 * (@sidney56)
 * [19 years ago](https://wordpress.org/support/topic/header-php/)
 * What happened to my post? I have submitted 2 post in the last 5 min., but neither
   shows on the board.
 * Well this one made it. Could someone check my header.php file to see if you can
   recognize any problem that would cause the last three links in my header to stop
   working? The links in the sidebar work fine. [http://sidneysuccess.com](http://sidneysuccess.com)
 * ………………………………………….
 *     ```
       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   
             <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
   
       <head profile="http://gmpg.org/xfn/11">
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   
       		<title>Selling Digital Information Products</title>
   
       	<meta content="Sidney McLean" name="author"/>
   
       <meta content="all" name="robots"/>
   
       <meta content="Webmaster tools, tips, digital information products, training, software downloads, ebooks, website feature generators, affiliate" name="description"/>
   
       	<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="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" media="screen" />
   
       	<![endif]-->
   
       	<!--[if lte IE 6]>
   
       	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/ie6.css" media="screen" />
   
       	<![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 wp_head(); ?>
   
       </head>
   
       <body class="custom">
   
       <div id="container">
   
       	<div id="masthead">
   
       		<h1><a href="http://sidneysuccess.com"><?php bloginfo('name'); ?></a></h1>
   
       		<h3><?php bloginfo('description'); ?></h3>
   
       	</div>
   
       	<ul id="nav">
   
       		<li><a <?php if (is_home()) echo('class="index.php" '); ?>href="http://sidneysuccess.com">Home</a></li>
   
                       <li><a <?php if (is_page('archives')) echo('class="archives" '); ?>href="http://sidneysuccess.com/?page_id=13">archives</a></li>
   
       		<li><a <?php if (is_page('about me')) echo('class="about me" '); ?>href="http://sidneysuccess.com/?page_id=5">about me</a></li>
   
                       <li><a <?php if (is_page('contact')) echo('class="contact" '); ?>href="http://sidneysuccess.com/?page_id=11">contact</a></li>
   
                       <li><a <?php if (is_page('sitemap')) echo('class="sitemap" '); ?>href="http://sidneysuccess.com/?page_id=19">sitemap</a></li>
   
                       <li class="rss"><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
   
       	</ul>
   
       	<div id="header_img">
   
       		<?php if (is_home()) { ?>
   
       		<img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,5)); ?>.jpg" width="770" height="140" alt="<?php bloginfo('name'); ?> header image 1" title="<?php bloginfo('name'); ?> header image 1" />
   
       		<?php } elseif (is_single()) { ?>
   
       		<img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,5)); ?>.jpg" width="770" height="140" alt="<?php bloginfo('name'); ?> header image 2" title="<?php bloginfo('name'); ?> header image 2" />
   
       		<?php } elseif (is_page()) { ?>
   
       		<img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,5)); ?>.jpg" width="770" height="140" alt="<?php bloginfo('name'); ?> header image 3" title="<?php bloginfo('name'); ?> header image 3" />
   
       		<?php } elseif (is_archive()) { ?>
   
       		<img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,5)); ?>.jpg" width="770" height="140" alt="<?php bloginfo('name'); ?> header image 4" title="<?php bloginfo('name'); ?> header image 4" />
   
       		<?php } else { ?>
   
       		<img src="<?php bloginfo('template_url'); ?>/images/header_<?php echo(rand(1,5)); ?>.jpg" width="770" height="140" alt="<?php bloginfo('name'); ?> header image 5" title="<?php bloginfo('name'); ?> header image 5" />
   
       		<?php } ?>
   
       	</div>
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547870)
 * you’re getting tagged for spamming most likely by askimet, and for what its worth,
   your OTHER threads re: this are still here. Therefore theres no need to re-post
   the same question yet again.
 * [http://wordpress.org/support/profile/163193](http://wordpress.org/support/profile/163193)
 * theres atleast three other threads by you regarding some header issue – I didnt
   read them since I dont like people that do that.
 *  Thread Starter [sidney56](https://wordpress.org/support/users/sidney56/)
 * (@sidney56)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547872)
 * Well forget it…I’ll try to find answer elsewhere. I have better things to do 
   than spend my time offending you.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547875)
 * You didn’t offend me, I assure you. That said, three posts on the same subject
   certainly does warrant a fourth or a fifth does it?
 * Just go INTO one of your other posts and bump ONE of them.
 *  Thread Starter [sidney56](https://wordpress.org/support/users/sidney56/)
 * (@sidney56)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547884)
 * I don’t know how to bump a thread.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547885)
 * you bump a thread by adding to it, by replying. By adding any additional information
   that might HELP someone to help you. Its much easier to help people when you 
   have information — what have THEY done to fix whatever the problem is, if anything.
   Or are they just waiting for some miraculous person to wander in with a quickfix.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/header-php/#post-547891)
 * this is a dupe, btw, mods 🙂
 * [http://wordpress.org/support/topic/113118?replies=1](http://wordpress.org/support/topic/113118?replies=1)
   
   [http://wordpress.org/support/topic/113025?replies=7](http://wordpress.org/support/topic/113025?replies=7)
 * or atleast it was, till he/she edited her first post in this thread.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘header.php’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/header-php/#post-547891)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
