most recent posts
-
I’m using the following code below to display the 3 most recent posts from category 4. The problem is it skipping the most recent post and displaying the 3 posts following the most recent??
<?php
global $post;
$myposts = get_posts(‘numberposts=3&offset=1&category=4’);
foreach($myposts as $post) :
setup_postdata($post);
?>any suggestions???
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘most recent posts’ is closed to new replies.