2009-09-03 01:12:30 +00:00
|
|
|
<?php get_header(); ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
|
2009-09-19 10:11:37 +00:00
|
|
|
<div class="<?php comicpress_post_class(); ?>">
|
2009-08-21 19:29:45 +00:00
|
|
|
<div class="post-page-head"></div>
|
|
|
|
<div class="post-page" id="post-<?php the_ID() ?>">
|
|
|
|
<h2 class="pagetitle">
|
|
|
|
<a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment"><?php echo get_the_title($post->post_parent) ?></a>
|
|
|
|
</h2>
|
|
|
|
<div class="gallery-image">
|
|
|
|
<a href="<?php echo wp_get_attachment_url($post->ID) ?>" target="_blank" title="Click for full size." ><img src="<?php echo wp_get_attachment_url($post->ID) ?>" alt="<?php the_title() ?>" /></a>
|
|
|
|
</div>
|
|
|
|
<div class="gallery-caption">
|
|
|
|
<?php the_excerpt() ?>
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-wrap">
|
|
|
|
<div class="imagenav">
|
|
|
|
<div class="imagenav-bg">
|
|
|
|
<?php previous_image_link() ?>
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-arrow">
|
|
|
|
‹
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-link">
|
|
|
|
<?php previous_image_link() ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-center">
|
|
|
|
<a href="<?php echo wp_get_attachment_url($post->ID) ?>" target="_blank" title="Click for full size." class="imagetitle"><?php the_title() ?></a><br />
|
|
|
|
<a href="<?php echo get_permalink($post->post_parent) ?>" rev="attachment">← Back to Gallery</a>
|
|
|
|
</div>
|
|
|
|
<div class="imagenav">
|
|
|
|
<div class="imagenav-bg">
|
|
|
|
<?php next_image_link() ?>
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-arrow">
|
|
|
|
›
|
|
|
|
</div>
|
|
|
|
<div class="imagenav-link">
|
|
|
|
<?php next_image_link() ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<?php the_content() ?>
|
2009-08-27 16:47:33 +00:00
|
|
|
<?php if ('open' == $post->comment_status) {
|
|
|
|
comments_template('', true);
|
|
|
|
} ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
<br class="clear-margins" />
|
|
|
|
</div>
|
|
|
|
<div class="post-page-foot"></div>
|
2009-09-12 15:28:32 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php endwhile; else: ?>
|
2009-09-19 10:11:37 +00:00
|
|
|
<div class="<?php comicpress_post_class(); ?>">
|
2009-08-21 19:29:45 +00:00
|
|
|
<div class="post-page-head"></div>
|
|
|
|
<div class="post-page">
|
|
|
|
<p>Sorry, no image matched your criteria.</p>
|
|
|
|
<br class="clear-margins" />
|
|
|
|
</div>
|
|
|
|
<div class="post-page-foot"></div>
|
2009-09-12 15:28:32 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php endif; ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
</div>
|
2009-08-27 15:57:50 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
2009-08-21 17:45:23 +00:00
|
|
|
<?php get_footer() ?>
|