Pull All Posts But Offset a Specific Category by 1
-
Hi
What I want to do is to first pull all posts from category(2) and show one of the on the front page. I do that now by using
query_posts('cat=2&posts_per_page=1');
Then on another part of the page, I want to pull all posts including category(2) but offset that category by 1 and show two posts. I know its not possible but something like this:
query_posts('posts_per_page=2&offsetcat2=1');
Is there a straight forward way to do that, or how would I go about doing it?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Pull All Posts But Offset a Specific Category by 1’ is closed to new replies.