Template edits

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-11-29 04:40:02 -08:00
parent 64f69e974e
commit 7058c3a50d
5 changed files with 12 additions and 2 deletions

View File

@ -161,6 +161,8 @@ foreach ( $years as $year ) {
</div> </div>
<?php } ?> <?php } ?>
</div> </div>
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>

View File

@ -34,6 +34,8 @@ if (empty($archive_year) || $archive_year == '') $archive_year = date('Y');
<div class="entry"> <div class="entry">
<?php the_content(); ?> <?php the_content(); ?>
</div> </div>
<br class="clear-margins" />
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<?php endwhile; ?> <?php endwhile; ?>
<div class="archive-yearlist">| <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"); <?php $years = $wpdb->get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");

View File

@ -36,7 +36,8 @@ Template Name: Comic Archive
<?php endwhile; ?> <?php endwhile; ?>
</table> </table>
<?php } } ?> <?php } } ?>
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<br class="clear-margins" />
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>

View File

@ -110,8 +110,8 @@ Template Version: 2.14
<?php the_content() ?> <?php the_content() ?>
<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:','comicpress').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?> <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:','comicpress').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')) ?>
</div> </div>
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<br class="clear-margins" /> <br class="clear-margins" />
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
</div> </div>
<div class="post-page-foot"></div> <div class="post-page-foot"></div>
</div> </div>

View File

@ -28,6 +28,11 @@ Template Name: Links
<?php if (!$comicpress_options['disable_page_titles']) { ?> <?php if (!$comicpress_options['disable_page_titles']) { ?>
<h2 class="pagetitle"><?php the_title() ?></h2> <h2 class="pagetitle"><?php the_title() ?></h2>
<?php } ?> <?php } ?>
<div class="entry">
<?php the_content(); ?>
</div>
<br class="clear-margins" />
<?php edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>') ?>
<div id="linkspage"> <div id="linkspage">
<ul> <ul>
<?php echo $bookmarks; ?> <?php echo $bookmarks; ?>