Problem with Wordpress - Recent Posts

Status
Not open for further replies.

woodyb23

New member
Aug 17, 2007
29
0
0
The site I am having problems with is Tasty Tofu Recipes.

At the top in the recent posts you can see that it has run outside the border. I tried limiting the amount of pages in the template but it is not working. Here is the code that generates this part. Does anybody know how to fix this? Thanks in advance for your help. If you got something smart to say, go fuck yourself!

<li class="posts"><h2>Recent Posts</h2>
<ul>
<?php
global $opt;
$recentposts = new WP_query();
$recentposts->query('showposts='.$opt['posts'].'&orderby=date&order=DESC&limit=5');
?>
<?php while ($recentposts->have_posts()) : $recentposts->the_post(); ?>
<li><div class="r_time"><?php the_time('d F Y'); ?></div><h1 class="r_head"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1></li>
<?php endwhile; ?>
</ul>
</li>
 


Status
Not open for further replies.