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