rework archive titles so they actually work
This commit is contained in:
parent
8f2e149957
commit
166c4bd058
|
@ -39,12 +39,11 @@ for ($i = 0; $i < 7; ++$i) {
|
|||
<div id="content" class="narrowcolumn">
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
|
||||
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year ?></span> <?php the_title() ?></h2>
|
||||
<?php while (have_posts()) { the_post(); ?>
|
||||
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year ?></span> <?php the_title() ?></h2>
|
||||
|
||||
<div class="entry">
|
||||
<?php while (have_posts()) { the_post(); the_content(); } ?>
|
||||
</div>
|
||||
<div class="entry"><?php the_content() ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="archive-yearlist">|
|
||||
<?php
|
||||
|
|
|
@ -65,10 +65,12 @@ Template Name: Comic Storyline with Thumbs
|
|||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h2 class="pagetitle"><?php the_title() ?></h2>
|
||||
<div class="entry">
|
||||
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?>
|
||||
</div>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<div class="entry">
|
||||
<h2 class="pagetitle"><?php the_title() ?></h2>
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<ul id="storyline" class="level-0">
|
||||
<?php if (get_option('comicpress-enable-storyline-support') == 1) {
|
||||
if (($result = get_option("comicpress-storyline-category-order")) !== false) {
|
||||
|
|
|
@ -37,12 +37,12 @@ Template Name: Comic Year Archive
|
|||
|
||||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
|
||||
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2>
|
||||
|
||||
<div class="entry">
|
||||
<?php while (have_posts()) : the_post(); the_content(); endwhile; ?>
|
||||
</div>
|
||||
<?php while (have_posts()) : the_post() ?>
|
||||
<div class="entry">
|
||||
<h2 class="pagetitle"><span class="archive-year"><?php echo $archive_year; ?></span> <?php the_title() ?></h2>
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="archive-yearlist">|
|
||||
<?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
|
||||
|
|
Loading…
Reference in New Issue