Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Image Store - single image template
- * @file ims-image.php
- * @package Image Store
- * @author Hafid Trujillo
- * @copyright 20010-2013
- * @filesource wp-content/plugins/image-store/theme/ims-image.php
- * @since 1.0.0
- */
- the_post( );
- get_header( ); ?>
- <div id="primary" class="content-area">
- <div id="content" class="site-content" role="main">
- <article id="post-<?php the_ID(); ?>" <?php post_class( 'image-attachment' ); ?>>
- <header class="entry-header">
- <h1 class="art-postheader"><a href="<?php echo get_site_url(); ?>/albums/<?php echo get_the_title( $post->post_parent); ?>"><?php echo get_the_title( $post->post_parent); ?></a> > <?php the_title(); ?></h1>
- </header><!-- .entry-header -->
- <div class="entry-content">
- <div class="entry-attachment">
- <div class="attachment view-image">
- <?php the_content(); ?>
- </div><!-- .attachment view-image -->
- <div class="control-bar">
- <strong>Image Ref:</strong><br>
- <?php the_title(); ?><br><br>
- <nav id="image-navigation" class="navigation image-navigation" role="navigation">
- <span class="nav-previous"><?php previous_post_link( '%link', __( '<img src="'. get_site_url() .'/arrow_prev.png">') ); ?></span>
- <span class="nav-next"><?php next_post_link( '%link', __( '<img src="'. get_site_url() .'/arrow_next.png">') ); ?></span>
- </nav><br><br>
- <form action="<?php echo get_site_url(); ?>/albums/<?php echo get_the_title( $post->post_parent); ?>">
- <input type="submit" value="View All Photos">
- </form><br>
- <form action="<?php echo get_site_url(); ?>/albums/<?php echo get_the_title( $post->post_parent); ?>/slideshow">
- <input type="submit" value="View Slideshow">
- </form><br>
- <form action="<?php echo get_site_url(); ?>/albums/<?php echo get_the_title( $post->post_parent); ?>/shopping-cart">
- <input type="submit" value="View Basket">
- </form><br>
- </div><!-- .control-bar-->
- </div><!-- .entry-attachment -->
- </div><!-- .entry-content -->
- </article><!-- #post -->
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement