/
var
/
www
/
barefootlaw.org
/
wp-content
/
themes
/
barefoot
/
Upload File
HOME
<?php /** * The template for displaying image attachments * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ get_header(); ?> <?php do_action( 'basement_before_wrap_content' ); ?> <div class="content"> <!-- CONTAINER --> <div class="container"> <div class="row"> <?php /** * basement_before_content basement framework hook. * * @hooked basement_output_left_sidebar - 20 (outputs left sidebar) * @hooked basement_output_content_wrapper - 21 (outputs opening divs for the content) * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ do_action( 'basement_before_content' ); ?> <?php // Start the Loop. while ( have_posts() ) : the_post(); ?> <article class="format-image-attachment"> <nav id="image-navigation" class="navigation image-navigation"> <div class="nav-links"> <div class="nav-previous"><?php previous_image_link( false, __( 'Previous Image', 'covercase' ) ); ?></div> <div class="nav-next"><?php next_image_link( false, __( 'Next Image', 'covercase' ) ); ?></div> </div><!-- .nav-links --> </nav><!-- .image-navigation --> <div class="entry-attachment entry-content"> <?php /** * Filter the default Covercase image attachment size. * * @since Covercase 1.0 * * @param string $image_size Image size. Default 'large'. */ $image_size = apply_filters( 'covercase_wp_attachment_size', 'large' ); echo wp_get_attachment_image( get_the_ID(), $image_size ); ?> <?php if ( has_excerpt() ) : ?> <div class="entry-caption"> <?php the_excerpt(); ?> </div><!-- .entry-caption --> <?php endif; ?> </div><!-- .entry-attachment --> <?php the_content(); wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'covercase' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'covercase' ) . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>', ) ); ?> <?php edit_post_link( __( 'Edit', 'covercase' ), '<div class="entry-footer"><span class="edit-link">', '</span></div>' ); ?> </article><!-- #post-## --> <div class="image-post-navigation"> <?php // Previous/next post navigation. the_post_navigation( array( 'prev_text' => _x( '<span class="meta-nav">Published in </span><span class="post-title">%title</span>', 'Parent post link', 'covercase' ), ) ); ?> </div> <hr class="hr-comments"> <?php // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; ?> <?php endwhile; ?> <?php /** * basement_after_content basement framework hook. * * @hooked basement_output_content_wrapper_end - 19 (outputs closing divs for the content) * @hooked basement_output_right_sidebar - 20 (outputs right sidebar) * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ do_action( 'basement_after_content' ); ?> </div> </div> <!-- /.container --> </div> <?php do_action( 'basement_after_wrap_content' ); ?> <?php get_footer();