ricbecker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts randomly don't show up!WELL HERE GOES
I feel. so. dumb. The problem was cause by…. are you ready…. drumroll please…
I neglected to set the posts_per_page, so query_posts was capping off at 15 or something like that. Period. end of story. I want those hours of my life back.
let this be a lesson to the rest of you out there.. and me especially….
(p.s. i haven’t been working on this for two weeks, I had to go to venice for a bit then I just couldn’t muster the courage to get back on it last night. i fought for a couple hours, almost cried, then revelation hit me on the train to the bronx)
Forum: Fixing WordPress
In reply to: Posts randomly don't show up!I still haven’t figured out what was causing the problem, though I narrowed it down to something related to parentage that was happening in the 2nd query_posts call (by much removal, trial, and error).
i moved forward by only querying pages once & using conditional statements to use the results as needed, but the question is still out there as an unsolved mystery *cue creepy music*
the solution also works fine on the page template after wp_reset_query()
Forum: Fixing WordPress
In reply to: Posts randomly don't show up!Nice suggestion, but no dice. I was working in that direction but the weird thing is that only one or sometimes a whole sub-tree (like, children of “About” page or something) doesn’t show.
i also tried using $blah = new WP_Query(etc) but it comes out the same.
if everything in the “wp_posts” field in the database is the same, where else could something be getting changed that will affect the query?