![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Any idea on how to get rid of the 'Next Page' link on the last listings page: http://bit.ly/Rpj9G4? Since there are no more blog posts beyond that page, it takes you to a 404.
|
|
#2
|
||||
|
||||
|
What is your posts per page setting in your reading settings? Are you changing the category or anything else for this?
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
|
#3
|
|||
|
|||
|
"Blog pages show at most" is set to 30. I wonder if this has anything to do with it being used for Press Releases.
|
|
#4
|
||||
|
||||
|
the problem is you have it set to show 30 posts per page but in that template it is only showing 10 posts per page.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
|
#5
|
|||
|
|||
|
As a test, in our development environment, I reduced it to 5 posts per page, but it didn't affect either the Blog page or the Press Releases page. Both still show 10 posts per page.
|
|
#6
|
||||
|
||||
|
You appear to be using some kind of template file to change the query. It is using the grid loop output.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
|
#7
|
|||
|
|||
|
I think you're right. I wonder if the Press Releases template is count Blog posts.
|
|
#8
|
|||
|
|||
|
Strange. I found the control in a custom template, which had posts_per_page set to 10. No matter what number I change that to, I get a 404 for page 6. Just for testing purposes, I changed it to 100 and didn't get the Next Page link on page 2, which is correct (but we need to have it at 10 per page).
Here's the template: PHP Code:
|
|
#9
|
|||
|
|||
|
There are around 130 press releases. When I change the posts_per_page to 30, I don't get the Next Page link on the last page (page 5), which is correct. However, that doesn't resolve the issue, since that is too many per page. Any idea where to look?
|
|
#10
|
||||
|
||||
|
you will need to use a function in the functions.php file to customize the posts_per_page in the query
http://billerickson.net/customize-the-wordpress-query/
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
| Tags |
| blog, next page |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing Link from Parent Page | joshguss | General Discussion | 2 | 02-15-2010 04:55 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us