[Resolved] No posts appearing on Page 2 with custom query
I’m working on a ground-up WordPress build as a personal project that displays future posts as a calendar of upcoming events. To do that, I’ve had to play around with the query a bit, but my posts have been appearing fine.
Today I moved forward to testing multiple pages, and I’ve discovered that, although the first page works fine, the second page just displays blank (aside from the header and footer). I found some code in another help topic that claimed to fix it, but it doesn’t appear to be working – my second page still displays blank.
Any chance someone can take a look and let me know what I’m doing wrong? It’s a local build, but I’ve put my index.php up on Pastebin here. The relevant code starts around <div id=”contentContainer”>, but I thought I’d include it all just in case. Happy to answer any questions if that’ll help.
- The topic ‘[Resolved] No posts appearing on Page 2 with custom query’ is closed to new replies.