thanks, esmi.
got it.
now, the problem is my loop is only displaying one post. and it’s not even the most recent post. what’s going on?
<?php
// turn off WordPress themes and include the WordPress core:
define('WP_USE_THEMES', false);
require($_SERVER['DOCUMENT_ROOT'] . '/blog/wp-blog-header.php');
?>
<?php
$lastposts = get_posts('numberposts=0&category=1&orderby=date&order=DESC');
$content = get_the_content();
foreach($lastposts as $post)
setup_postdata($post);
?>
what follows from there is all the markup for the_date, the title, ID, etc…
I only need one instance of the div class for the “post” (including content, storytitle, etc), right?