tyzer
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Only one post showing for my new theme layoutthanks guys, its all sorted now.
Forum: Fixing WordPress
In reply to: Only one post showing for my new theme layouthi, i’ve spent the last few hours trying to get my head round this, but i just can’t. Could you have a look at the code below which is my index.php file, and see if i should make any changes to it, i know it looks a bit messy compared to how most people have their index.php files, but the layout worked perfect, i just can’t get it to show all my blog posts.
<!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" xml:lang="en" lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Keywords" content="Keywords" />
<link rel="stylesheet" type="text/css" href="http://www.adquick.co.uk/temp2/aran.css" media="screen" title="studio7designs (screen)" />
<title>adquick.co.uk - Buy and Sell Text Ads Quick</title>
<style type="text/css">
<!--
.style11 {font-size: 1.8em}
.style29 {color: #7594C0}
.style38 {font-size: 11px}
.style22 {font-size: 1.4em}
.style32 {color: #323232}
.style39 {font-size: 12px; font-weight: bold; }
.style43 {font-size: 12px}
-->
</style>
</head><body>
<div id="leftsidebar">
<img id="header" src="http://www.adquick.co.uk/temp2/header.jpg" width="760" height="35" alt="header" />
<div id="menu">
<h2 class="hide">Menu:</h2><ul>
<li><a href="#">Home</a></li>
<li><a href="#">Register</a></li>
<li><a href="#">Login</a></li>
<li><a href="#">My Account </a></li>
<li><a href="#">Website Owners </a></li>
<li><a href="#">What is adquick? </a></li>
</ul>
</div>
<div id="content2">
<div align="right">
<div align="right">
<div id="div">
<div align="right">
<div class="main2">
<div id="content" >
<?php if (have_posts()) : the_post(); ?>
<div class="post">
<h1><a href="http://adquick.co.uk/blog">">
<?php the_title(); ?>
</a></h1>
<div id="edit">
<?php edit_post_link('Edit', '', ''); ?>
</div>
<?php the_content(__('(more...)')); ?>
<div id="meta">
<h3>About this post</h3>
Posted
<?php the_time('F jS, Y') ?>
by
<?php the_author() ?></div>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endif; ?>
</div>
<p align="left">
<p align="left"> </div>
</div>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>
</div>
</body>
</html>Forum: Fixing WordPress
In reply to: Only one post showing for my new theme layoutthanks for the reply.
i’ve got it as 10. i put the default theme back and it was fine, when i did a 2nd post both posts showed up, so maybe its something i have done to the index.php file, but i’m not sure.