This one might be a bit off-topic for the Theme-Reviewers mail-list...<div><br></div><div>You might try the wp-hackers mail-list for this kind of question, or, perhaps better yet, <a href="http://wordpress.stackexchange.com">wordpress.stackexchange.com</a></div>
<div><br></div><div>Hope you find a solution. Sounds like a tricky problem!</div><div><br></div><div>Chip<br><br><div class="gmail_quote">On Fri, Apr 22, 2011 at 3:34 PM, Philip Walton <span dir="ltr"><<a href="mailto:philip@philipwalton.com">philip@philipwalton.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm making a theme for a client, and I'm coming up with an interesting issues that I thought I'd run by you all before I do anything too hackish.<br>
<br>
Basically I'm making a theme where, according to the design, the home page should display 9 posts, but every other page should display 10. The 10 page design shows only the excerpts and looks like stacked blocks: 2 columns, five high (all excerpts are equal height and width). The reason there's only 9 posts on the home page is because the first post shows the entire content, and then there's the stacked blocks below that first post. Basically, in order to make it symmetrical, there needs to be an odd number of posts displayed on the first page, but an even number on every other page.<br>
<br>
So here's my question:<br>
<br>
If I say posts_per_page = 9 on the home page, but 10 on every other page, the pagination messes up. When I go to page 2 I either skip a post or show a post that was also shown on the home page.<br>
<br>
Can anyone think of a way to make page 1 be 1-9 and the subsequent pages 10-19, 20-29, 30-39, etc?<br>
<br>
I've come up with nothing so far and I'd rather not have to manually filter the limit in the MySQL query.<br>
<br>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</blockquote></div><br></div>