Hi, I am currently developing a site based around wordpress (1.3a, from the nightlies) that has a single post on the front page. I also want to have 10 posts per page for categories and archive pages.
Currently, to achieve that I have to set the posts per page to be 10, and just don’t use all of the wordpress loop on the home page (checking it with
is_home()). This works, except for two problems.
Firstly, the previous / next links (generated by
posts_nav_link()) will skip 9 posts when the go to the second page.
Secondly, it must be slightly inefficient to get 10 posts out of the DB and then discard 9 of them. I would quite like to fix that.
Does anyone have any ideas for a solution to this.
- The topic ‘Single Post Homepages in 1.3a’ is closed to new replies.