Can you provide a link to your site? I am thinking that you may have to change a setting in your CSS style sheet.
Craig.
<?php
/* Don’t remove these lines. */
$blog = 1;
require_once(‘wp-blog-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”>
<head>
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php get_archives(‘monthly’, ”, ‘link’); ?>
<?php //comments_popup_script(); // off by default ?>
<?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
————————————————————————————————————–
this is the coding I got so far as I try to build my template from scratch but i keep getting parse errors. Parse error: parse error in c:\phpdev\www\wordpress\index.php on line 26. As far as I can see, I see no problems with the code. Can anyone help me?
Well, for starters, you’re missing the last half of the loop. The loop is started by the foreach line…. then there’s nothing after that….
You should get a copy of the original index.php that came with WP, and copy over some more of the WP code that will display the posts, and complete the loop.
TG