选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
查看 attachment.php - 文件管理器
👁 查看:attachment.php
路径:/virtual/bigbrother/public_html/fx-genesis.com/wp-content/themes/hestia/attachment.php
大小:1.78 KB · 修改:2019-03-20 06:38:22 · 权限:0644 · 可写
<?php
/**
 * The template for displaying attachments.
 *
 * @package Hestia
 * @since   Hestia 1.0
 */

get_header();

do_action( 'hestia_before_attachment_wrapper' )
?>
<div class="<?php echo hestia_layout(); ?>">
	<div class="blog-post blog-post-wrapper">
		<div class="container">

			<?php
			if ( have_posts() ) :
				while ( have_posts() ) :
					the_post();
					?>

					<div class="entry-attachment section section-text">
						<?php
						if ( wp_attachment_is_image( $post->ID ) ) :
							$att_image = wp_get_attachment_image_src( $post->id, 'full' );
							?>
							<a href="<?php echo esc_url( wp_get_attachment_url( $post->id ) ); ?>"
									title="<?php the_title_attribute(); ?>" rel="attachment">
								<img src="<?php echo esc_url( $att_image[0] ); ?>"
										width="<?php echo esc_attr( $att_image[1] ); ?>"
										height="<?php echo esc_attr( $att_image[2] ); ?>" class="attachment-medium"
										alt="<?php esc_attr( $post->post_excerpt ); ?>"/>
							</a>
						<?php else : ?>
							<a href="<?php echo esc_url( wp_get_attachment_url( $post->ID ) ); ?>"
									title="<?php the_title_attribute(); ?>" rel="attachment">
								<?php echo basename( $post->guid ); ?>
							</a>
							<?php
						endif;

						echo '<p class="sizes">';if ( wp_attachment_is_image( get_the_ID() ) ) {
							echo '<div class="image-meta">';
							echo '<i class="fa fa-camera"></i> ';
							/* translators: %s is Image sizes for attachment single page. */
							printf( esc_html__( 'Size: %s', 'hestia' ), hestia_get_image_sizes() );

							echo '</div>';
						}
						echo '</p>';
						if ( comments_open() || get_comments_number() ) :
							comments_template();
						endif;
						?>
					</div>

				<?php endwhile; ?>

			<?php endif; ?>

		</div>
	</div>
</div>
<?php get_footer(); ?>
ページが見つかりませんでした – Lumiere Shop
ここを指しているリンクに誤りがあったようです。検索してみるのはいかがですか ?
お買い物カゴ