PATH:
home
/
letacommog
/
rachat-or-bourgenbresse
/
wp-content
/
themes
/
dt-the7
<?php /** * Attachment template. * * @package presscore * @since presscore 0.1 */ // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } global $post; $config = Presscore_Config::get_instance(); $config->set('template', 'image'); get_header(); ?> <!-- Content --> <div id="content" class="content" role="main"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php do_action('presscore_before_post_content'); ?> <?php $img_meta = wp_get_attachment_image_src( $post->ID, 'full' ); $img_args = array( 'img_meta' => $img_meta, 'img_id' => $post->ID, 'custom' => 'data-dt-img-description="' . esc_attr(get_the_excerpt()) . '"', 'class' => 'alignnone rollover rollover-zoom dt-single-mfp-popup dt-mfp-item mfp-image', 'title' => get_the_title(), 'wrap' =>'<a %HREF% %CLASS% %CUSTOM% %TITLE%><img %IMG_CLASS% %SRC% %ALT% %SIZE% /></a>' ); if ( isset($img_meta[1]) && $img_meta[1] < 890 ) { $img_args['wrap'] = "\n" . '<img %IMG_CLASS% %SRC% %SIZE% %ALT%/>' . "\n"; $img_args['class'] = ''; $img_args['img_class'] = 'alignleft'; $img_args['custom'] = ''; } dt_get_thumb_img( $img_args ); the_content(); presscore_display_share_buttons_for_post( 'photo' ); ?> </article> <?php do_action('presscore_after_post_content'); ?> <?php endwhile; ?> <?php endif; ?> </div><!-- #content --> <?php do_action('presscore_after_content'); ?> <?php get_footer(); ?>
[+]
..
[-] header-main.php
[edit]
[-] rtl.css
[edit]
[+]
images
[+]
template-parts
[-] functions.php
[edit]
[-] footer.php
[edit]
[-] style.css
[edit]
[-] license.txt
[edit]
[-] 404.php
[edit]
[-] content-single-team.php
[edit]
[+]
languages
[-] content-single-testimonials.php
[edit]
[-] post template.php.php
[edit]
[-] comments.php
[edit]
[-] GPL.txt
[edit]
[-] index.php
[edit]
[-] wpml-config.xml
[edit]
[-] template-blog-masonry.php
[edit]
[-] sidebar-footer.php
[edit]
[+]
js
[-] header-single.php
[edit]
[-] template-team.php
[edit]
[-] template-blog-list.php
[edit]
[-] content-testimonials.php
[edit]
[+]
inc
[+]
plugins
[-] template-portfolio-masonry.php
[edit]
[-] template-microsite.php
[edit]
[-] image.php
[edit]
[-] .htaccess
[edit]
[-] content-single.php
[edit]
[-] no-results.php
[edit]
[-] page.php
[edit]
[-] search.php
[edit]
[-] template-portfolio-list.php
[edit]
[+]
css
[-] template-albums.php
[edit]
[-] searchform.php
[edit]
[-] screenshot.png
[edit]
[-] single.php
[edit]
[+]
woocommerce
[-] content-single-gallery.php
[edit]
[-] template-testimonials.php
[edit]
[-] template-albums-jgrid.php
[edit]
[-] header.php
[edit]
[-] editor-style.css
[edit]
[-] template-portfolio-jgrid.php
[edit]
[-] content-single-portfolio.php
[edit]
[-] archive.php
[edit]
[-] template-media-jgrid.php
[edit]
[+]
fonts
[-] sidebar.php
[edit]