Skip to main content

Timeline for Pagination 404s on custom query

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jun 15, 2020 at 8:21 history edited CommunityBot
Commonmark migration
Jun 10, 2014 at 20:20 comment added jphogan Yeah, I've got that set. See here: imgur.com/n8YINbI Here is my new home.php pastebin.com/bTHRMFqT If I remove the function you gave me, all posts display and there is no pagination. If I add the function, then the correct amount display and it works as it should.
Jun 10, 2014 at 17:57 comment added Pieter Goosen Did you set a homepage in "Reading Settings >> Front page displays". If not, edit your question and add the code that is currently in home.php so I can quickly have a look at it :)
Jun 10, 2014 at 17:44 comment added jphogan Thank you so very, very much for taking the time to write up such a detailed response. I've tried so many options, I think I was ending up with a mess. I am definitely saving what you wrote out as it will help me many times in the future. I copied my code from blog-page.php and moved it to home.php. I changed to just the default query. I then added that function to limit the number of posts. I had it set in Reading Settings, but the page was ignoring that even after moving to home.php. Any idea why that would be? Either way, it's working perfectly now. I can't thank you enough for your help.
Jun 10, 2014 at 17:37 vote accept jphogan
Jun 10, 2014 at 16:08 history edited Pieter Goosen CC BY-SA 3.0
added 53 characters in body
Jun 10, 2014 at 7:31 history edited Pieter Goosen CC BY-SA 3.0
added 213 characters in body
Jun 10, 2014 at 7:22 history undeleted Pieter Goosen
Jun 10, 2014 at 7:22 history edited Pieter Goosen CC BY-SA 3.0
added 1009 characters in body
Jun 10, 2014 at 7:17 history deleted Pieter Goosen via Vote
Jun 10, 2014 at 7:16 history answered Pieter Goosen CC BY-SA 3.0