| Server IP : 116.202.121.150 / Your IP : 216.73.216.207 Web Server : Apache System : Linux server5.febas.net 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64 User : k9887-1 ( 1171) PHP Version : 8.2.32 Disable Function : show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen, system, shell_exec, passthru, popen, proc_open, exec MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/k9887-1/htdocs/_fisch/wp-content/themes/dt-the7/ |
Upload File : |
<?php
/**
* Attachment template.
*
* @since 1.0.0
*
* @package The7\Templates
*/
defined( 'ABSPATH' ) || exit;
global $post;
$config = presscore_config();
$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-pswp-item',
'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();
the7_display_post_share_buttons( 'photo' );
?>
</article>
<?php do_action( 'presscore_after_post_content' ); ?>
<?php endwhile ?>
<?php endif ?>
</div><!-- #content -->
<?php do_action( 'presscore_after_content' ); ?>
<?php get_footer(); ?>