2009-11-20 06:03:02 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
function comicpress_dual_columns() {
|
2009-11-22 18:06:19 +00:00
|
|
|
global $comicpress_options, $blog_postcount; ?>
|
2009-11-20 05:02:23 +00:00
|
|
|
<div id="dualcolumns">
|
|
|
|
<div class="column_one">
|
|
|
|
<div class="column_one_header"></div>
|
2009-11-22 18:06:19 +00:00
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$comicpress_options['author_column_one'].'&paged='.$paged;
|
2009-11-20 05:02:23 +00:00
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
2009-12-24 23:09:56 +00:00
|
|
|
comicpress_display_post();
|
2009-11-20 05:02:23 +00:00
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbyone">View all posts by: <?php the_author_posts_link(); ?><span><br />
|
|
|
|
</div>
|
|
|
|
<div class="column_two">
|
|
|
|
<div class="column_two_header"></div>
|
2009-11-22 18:06:19 +00:00
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$comicpress_options['author_column_two'];
|
2009-11-20 05:02:23 +00:00
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
2009-12-24 23:09:56 +00:00
|
|
|
comicpress_display_post();
|
2009-11-20 05:02:23 +00:00
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbytwo">View all posts by: <?php the_author_posts_link(); ?></span><br />
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
2009-11-20 06:03:02 +00:00
|
|
|
<?php }
|
|
|
|
|
|
|
|
?>
|