Ok, I'm a complete noob, so I apologise in advance (ready the fish to slap me over the back of the head if I've shoved this in the wrong section or I end up being utterly stupid)
I'm working on creating a theme for a wordpress installation. It's basically an HTML page that I want to show the wordpress posts in.
I'll post the code in a momment, but let me just run through what I am trying do to exactly.
All I want is the posts and comments available on the page. I have no interest in the header image, sidebar or search box. It's going to be managed from the backend including comment deletion, basically all I want is the following section outlined in red.
http://img225.imageshack.us/my.php?image=imagerj1.jpg
The post should appear where my code says "Content Here"
and I can place the RSS Information and wordpress accreditation in the links at the bottom of the page where my code says about a bottom banner.
I cannot for the life of me work out how to do it. On other systems I have managed to sucessfully pull out the PHP information and stick it where I want, alot of the time it's been quite simple, almost like <posts></posts> etc just copy and paste give it a few bits of header information and it pulls what it needs.
I'm trying very hard to keep the same sort of style through the site, but I cannot figure this out, so please if you can, help.
Here is the code for the site.
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>the | longmile.net 2008</title>
<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
}
body {
background-color: #464646;
}
.style1 {font-family: Arial, Helvetica, sans-serif}
.style2 {
font-size: small;
font-style: italic;
}
.style3 {font-size: small}
.style4 {font-size: large}
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: small; }
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
.style6 {font-size: medium}
.style7 {font-size: large; font-family: Arial, Helvetica, sans-serif;
}
.tableset {
padding-left: 40px;
padding-right: 50px;
padding-top: 1px;
padding-bottom: 0px;
}
-->
</style></head>
<body>
<div align="center">
<table width="200" border="0" padding="0">
<tr>
<td><div align="left"><img src="webimages/toplogomenu.jpg" align="right" width="900" height="405" border="0" usemap="#Map" /></div></td>
</tr>
<tr>
<td background="webimages/tabmiddle.jpg" class="tableset"><div align="left">Content Here</div>
<div align="left"></div> <div align="left"></div> <div align="left"></div> <div align="left" class="style3"></div>
<p class="style5"> </p>
<p class="style5"> </p></td>
</tr>
<tr>
<td><div align="left"><img src="webimages/bottomban.jpg" width="900" height="60" /></div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
<p> </p>
<map name="Map" id="Map"><area shape="rect" coords="524,345,587,371" href="../../Website/build/index.html" />
<area shape="rect" coords="594,345,656,373" href="../../Website/build/gallery.html" />
<area shape="rect" coords="668,347,739,372" href="../../Website/build/services.html" />
<area shape="rect" coords="749,345,819,370" href="../../Website/build/contact.html" />
<area shape="rect" coords="827,348,887,371" href="../../Website/build/about.html" />
</map></body>
</html>
It's messy I know, I'm sorry, the map links will go on another revision of the site going up shortly, but once I can work out how to do this, I will.
Thanks to anyone that can help