
Originally Posted by
kduv
Can you post the code?
Sure, here you go. This is the page with the error
PHP Code:
<?php get_header(); ?>
<div id="content-container">
<?php get_sidebar(); ?>
<div id="content-container-inner">
<div id="index2">
<div id="index-container2">
<div id="newsheader">
<img src="images/newsheader-img.png" />
</div>
<div id="divider">
<img src="images/divider-long.png" />
</div>
</div>
</div>
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args= array(
'cat' => 1,
'paged' => $paged
);
query_posts($args);
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="index">
<div id="index-container">
<div id="latestnews">
<div id="postingtitle">
<div id="newsposting">
<div id="commentbubble">
<div id="bubbletext">
<a href="#"><?php comments_popup_link('0', '1', '%'); ?></a>
</div>
</div>
<h1><a href="<?php the_permalink() ?>"><?php if (strlen($post->post_title) > 40) {
echo substr(the_title($before = '', $after = '', FALSE), 0, 40) . '...'; } else {
the_title();
} ?></a></h1>
</div>
<div id="details">
<p><?php include (TEMPLATEPATH . '/inc/meta.php' ); ?></p>
</div>
</div>
<div id="newscontent">
<p><?php echo content(70); ?></p>
</div>
<div id="readmore">
<a href="<?php the_permalink() ?>"><img src="images/readmore.png" alt="morenews" /></a>
</div>
</div>
<img src="images/divider-long.png" />
</div>
<?php endwhile; ?>
<?php if(function_exists('wp_paginate')) {
wp_paginate();
} ?>
<?php endif; ?> <?php wp_reset_query() ?>
</div>
</div>
</div>
<?php get_footer(); ?>
Bookmarks