a custom permalink structure: /%category%/%postname%/
going here gives me this weird sql statement:
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND (wp_posts.ID = ‘1829’) AND wp_posts.post_type = ‘page’ ORDER BY wp_posts.post_date DESC
Obviously this will not get the posts I’m looking for. Why is this?
- The topic ‘wp_query goes haywire.’ is closed to new replies.