Archive wp_posts.post_date query
-
We have yearly archive posts appearing (post-type/events/2013/) but the posts are pulled in via post_date (e.g YEAR(wp_posts.post_date)=’2013′) rather than _event_date_modified in the postmeta table. The problem is that if an event was created in say 2012 but with a start date of 2013 it would show in the 2012 archive rather than 2013.
Wondering if wp_posts.post_date should be set as the event start date or we override the WP select query to reference the correct fields?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Archive wp_posts.post_date query’ is closed to new replies.