post_date); $next_comic = get_next_comic(); $next_comic = (array)$next_comic; $next_date = mysql2date('Y-m-j', $next_comic['post_date']); $blog_query = 'showposts='.$blog_postcount.'&order=asc&cat=-'.exclude_comic_categories(); } } else { display_blog_post(); } endwhile; ?>
= '".$cur_date."' AND post_date < '".$next_date."'"; return $where; } add_filter('posts_where', 'filter_where'); $posts = query_posts($blog_query); if (have_posts()) { while (have_posts()) : the_post(); display_blog_post(); endwhile; } } $post = $temppost; $wp_query = $temp_query; $temppost = null; $temp_query = null; } } if ('open' == $post->comment_status) { comments_template('', true); } ?>