Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php get_template_part('sidebar-archives'); ?>
- <div id="content">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <h2 class="centerparagraph">Photo Feature Archives</h2>
- <p class="centerparagraph"><a href="http://files.schuminweb.com/archives/photo-features/full-size/<?php echo get_post_meta($post->ID, "photofeature_filename", true); ?>.jpg" rel="lightbox[<?php the_ID(); ?>]" title="<?php the_content(); ?>Photographed <?php echo get_post_meta($post->ID, "photofeature_date_photographed", true); ?>"><IMG SRC="http://files.schuminweb.com/archives/photo-features/feature-size/<?php echo get_post_meta($post->ID, "photofeature_filename", true); ?>.jpg" /></a></p>
- <span class="largetextinline"><span class="centerparagraph"><?php the_content(); ?></span></span>
- <HR />
- <P><B>Date photographed:</B> <?php echo get_post_meta($post->ID, "photofeature_date_photographed", true); ?></P>
- <P><B>Date featured:</B> <?php the_time('F j, Y'); ?></P>
- <?php
- $var = get_post_meta($post->ID, 'photofeature_notes', true);
- if ($var == '')
- {
- echo "";
- } else {
- echo "<p><b>Notes:</b> " . $var . "</p>";
- } ?>
- <HR />
- <?php comments_template(); // Get wp-comments.php template ?>
- <?php endwhile; else: ?>
- <h2>Woops...</h2>
- <p>Sorry, no posts we're found.</p>
- <?php endif; ?>
- <p align="center"><?php posts_nav_link(); ?></p>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement