Right now I’m trying to develop my own custom wordpress theme. I want to include this table inside the header.php file so that I can have my own custom nav (i’m not savy with CSS so doing all that sort of stuff is out of the question). Basically when I include that file it gets erased when I go online to view the page.
http://www.itsjustanotherblog.com/wordpress
I’ just need help getting that table to show up on the page. Any ideas?
thanks and here is the code I’m using:
Header.php
<!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" lang="en" xml:lang="en">
<head>
<title><?php bloginfo('name'); wp_title(); ?></title>
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="screen" name="stylesheet" />
<meta http-equiv="Content-Type" content="<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<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'); ?>" />
<?php /*comments_popup_script(520, 550);*/ ?>
<?php wp_head();?>
</head>
<body topmargin="0" bottommargin="0">
<!--7287pwkr-->
<!--
This theme has been designed by Paddy Ryan of
http://doingword.com
-->
<div id="container">
<div id="headimg">
<?PHP
include("pathto/nav.php");
?>
</div>
<div id="menu">
<div id="navigation">
<li <?php if(is_home()){echo 'id="amenu"';}?>></li></div>
<div id="feed">
</div>
</div>
nav.php (includes the table I want on the main page)
<table border="0" cellpadding="0" cellspacing="0" width="820">
<tr>
<td><img src="images/spacer.gif" width="336" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="30" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="7" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="45" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="402" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="3"><img name="nav_r1_c1" src="images/nav_r1_c1.png" width="336" height="80" border="0" alt=""></td>
<td colspan="4"><img name="nav_r1_c2" src="images/nav_r1_c2.png" width="484" height="30" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="30" border="0" alt=""></td>
</tr>
<tr>
<td><img name="nav_r2_c2" src="images/nav_r2_c2.png" width="30" height="19" border="0" alt=""></td>
<td><img name="nav_r2_c3" src="images/nav_r2_c3.png" width="7" height="19" border="0" alt=""></td>
<td><img name="nav_r2_c4" src="images/nav_r2_c4.png" width="45" height="19" border="0" alt=""></td>
<td><img name="nav_r2_c5" src="images/nav_r2_c5.png" width="402" height="19" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="19" border="0" alt=""></td>
</tr>
<tr>
<td colspan="4"><img name="nav_r3_c2" src="images/nav_r3_c2.png" width="484" height="31" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="31" border="0" alt=""></td>
</tr>
</table>