“Thanks”
As I said before, this is (or would be) a showstopper. We plan on using Events to track upcoming Tech events, and so need to “post” the event when it is announced, and to show as a blog post. By having the events sort by the event date and not the publish date, our index.php would show any and all events happening in the future before our latest news posts, obviously unacceptable.
FWIW I have found a workaround. After upgrading to 3.1, I unchecked the “include Events in main blog loop” checkbox in settings, and inserted the following code into functions.php:
add_filter( 'pre_get_posts', 'my_get_posts' );
function my_get_posts( $query ) {
if ( is_home() && $query->is_main_query() )
$query->set( 'post_type', array( 'post', 'tribe_events' ) );
return $query;
}
(code snippet via Justin Tadlock)
The WordPress posts query apparently uses publish date to sort, it wasn’t necessary to resort the Events code.
By the way, I have also added code to incorporate Events posts into our RSS feed, too:
function myfeed_request($qv) {
if (isset($qv['feed']) && !isset($qv['post_type']))
$qv['post_type'] = array('post', 'tribe_events');
return $qv;
}
add_filter('request', 'myfeed_request');
This allows us to use Events posts almost as though they were regular blog posts, showing up on our home page and in our feed.
The Events Calendar is by far the most useful events plugin we’ve found, and I’m happy to have it working (for our purposes) “properly”. I would suggest that you take a look at the functionality of adding events to the home page and think about providing a “blog flow” option based on publish date in the future. For now, though, I can live with this and continue to install updates, etc.