i wanna display recent post #5 through recent post #10 ONLY.
-
is there a way to specify a post or post range to begin from when displaying a specific number of posts on the index page? Right now I have this:
query_posts(‘cat=3&showposts=10’);
which displays the 10 most recent posts in category #3. What I’m trying to do, though, for example, is display recent post #5 through recent post #10, so I could do something like this:
query_posts(‘cat=3&showposts=5’);
[advertisement code here]
query_posts(‘cat=3&showposts=5&startfrom=6‘);et cetera, et cetera….
I would vastly appreciate assistance doing this as it’s the only thing prohibiting me from using wordpress fully, and will likely affect my decision on whether or not I wish to use it in the first place. Thank you!
- The topic ‘i wanna display recent post #5 through recent post #10 ONLY.’ is closed to new replies.