32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<?php
|
|
|
|
function comicpress_dual_columns() {
|
|
global $comicpress_options, $blog_postcount; ?>
|
|
<div id="dualcolumns">
|
|
<div class="column_one">
|
|
<div class="column_one_header"></div>
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$comicpress_options['author_column_one'].'&paged='.$paged;
|
|
$posts = query_posts($blog_query);
|
|
if (have_posts()) {
|
|
while (have_posts()) : the_post();
|
|
display_blog_post();
|
|
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>
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$comicpress_options['author_column_two'];
|
|
$posts = query_posts($blog_query);
|
|
if (have_posts()) {
|
|
while (have_posts()) : the_post();
|
|
display_blog_post();
|
|
endwhile;
|
|
} ?>
|
|
<span class="viewpostsbytwo">View all posts by: <?php the_author_posts_link(); ?></span><br />
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<?php }
|
|
|
|
?>
|