File: /home/dh_5jabqq/bermudashipwreckarchive.com/wp-content/themes/loquet/attachment.php
<?php
/*
* The template for displaying attachment
*/
get_header(); ?>
<?php while( have_posts() ) { ?>
<?php the_post(); ?>
<?php
/*====== Customizer Settings ======*/
$social_sharing_box = get_theme_mod( 'loquet_blog_attachments_social_sharing_box', '1' );
$social_sharing_box_style = get_theme_mod( 'loquet_blog_attachments_social_sharing_box_style', 'style-13-v3' );
$social_sharing_box_size = get_theme_mod( 'loquet_blog_attachments_social_sharing_box_size', 'size-s' );
$comments = get_theme_mod( 'loquet_blog_attachments_comments' );
?>
<?php echo loquet_title_bar(); ?>
<?php echo loquet_page_wrapper_before(); ?>
<?php echo loquet_flex_container_before( $extra_class = "gt-page-layout" ); ?>
<?php echo loquet_page_content_before(); ?>
<article class="gt-article">
<div id="post-<?php the_ID(); ?>" <?php post_class( 'gt-content' ); ?>>
<div class="gt-content-body">
<div class="gt-item">
<?php echo wp_get_attachment_image( get_the_ID(), 'full', true, true ); ?>
</div>
<?php
if( $social_sharing_box == "1" and function_exists( 'loquet_social_sharing' ) ) {
if( !empty( loquet_social_sharing( $class = "", $style = esc_attr( $social_sharing_box_style ), $skin = "light", $size = esc_attr( $social_sharing_box_size ), $custom_title = esc_html__( 'Share This Page', 'loquet' ), $align = "left" ) ) ) {
echo '<div class="gt-item gt-item-social-sharing">';
echo loquet_social_sharing( $class = "", $style = esc_attr( $social_sharing_box_style ), $skin = "light", $size = esc_attr( $social_sharing_box_size ), $custom_title = esc_html__( 'Share This Page', 'loquet' ), $align = "left" );
echo '</div>';
}
}
?>
</div>
<?php
if( $comments == "1" ) {
if( comments_open() || get_comments_number() ) {
echo '<div class="gt-content-footer">';
comments_template();
echo '</div>';
}
}
?>
</div>
</article>
<?php echo loquet_page_content_after(); ?>
<?php get_sidebar(); ?>
<?php echo loquet_flex_container_after(); ?>
<?php echo loquet_page_wrapper_after(); ?>
<?php } ?>
<?php get_footer();