External page pulling WP date, but only one post??
-
For whatever reason I can only get ONE POST to show up and its the EARLIEST post. I want to show ALL the posts in category 3.
Any ideas?
I am using this code:
<?php $posts = get_posts('numberposts=10&offset=0&category=3'); foreach($posts as $post) setup_postdata($post); ?>
<?php the_time('F jS, Y') ?>
<b><?php the_title(); ?></b>
<?php the_content(); ?>If I change the timestamp on either post to be an earlier date then it shows up but the other one doesn’t….I have looked high and low for something like this and haven’t gotten the foggiest on figuring this one out:/
Any help is appreciated!
- The topic ‘External page pulling WP date, but only one post??’ is closed to new replies.