Server IP : 149.255.58.128 / Your IP : 216.73.216.199
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/wheelch2/public_html/wp-content/themes/building-lite//image.php
<?php
/**
* The template for displaying image attachments.
*
* @package Building Lite
*/
get_header(); ?>
<div class="container">
<div class="page_content">
<section class="site-main">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php
$metadata = wp_get_attachment_metadata();
printf( wp_kses( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s">%4$s × %5$s</a> in <a href="%6$s" rel="gallery">%7$s</a>', 'building-lite' ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_url( wp_get_attachment_url() ),
esc_attr($metadata['width']),
esc_attr($metadata['height']),
esc_url( get_permalink( $post->post_parent ) ),
get_the_title( $post->post_parent )
);
edit_post_link( esc_html__( 'Edit', 'building-lite' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- .entry-meta -->
<nav role="navigation" id="image-navigation" class="image-navigation">
<div class="nav-previous"><?php previous_image_link( false, wp_kses( '<span class="meta-nav">←</span> Previous', 'building-lite' ) ); ?></div>
<div class="nav-next"><?php next_image_link( false, wp_kses( 'Next <span class="meta-nav">→</span>', 'building-lite' ) ); ?></div>
</nav><!-- #image-navigation -->
</header><!-- .entry-header -->
<div class="entry-content">
<div class="entry-attachment">
<div class="attachment">
<?php building_lite_the_attached_image(); ?>
</div><!-- .attachment -->
<?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">' . esc_html__( 'Pages:', 'building-lite' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php edit_post_link( esc_html__( 'Edit', 'building-lite' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
<?php endwhile; // end of the loop. ?>
</section>
<?php get_sidebar();?>
<div class="clear"></div>
</div>
</div>
<?php get_footer(); ?>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 05 2024 12:06:44 | 1032 / wheelch2 | 0755 | |
css | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
customize-pro | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
images | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
inc | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
js | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
languages | -- | May 29 2023 22:41:18 | 1032 / wheelch2 | 0755 | |
| | | | | |
404.php | 0.856 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
archive.php | 1.131 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
change_log.txt | 0.184 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
comments.php | 3.236 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
content-page.php | 0.726 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
content-single.php | 1.54 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
content.php | 2.059 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
editor-style.css | 0.136 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
footer.php | 1.102 KB | June 03 2023 19:06:12 | 1032 / wheelch2 | 0644 | |
front-page.php | 4.672 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
full-width.php | 0.908 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
functions.php | 5.366 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
header.php | 4.199 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
image.php | 3.791 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
index.php | 1.567 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
license.txt | 34.323 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
no-results.php | 0.99 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
page.php | 1.011 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
readme.txt | 3.346 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
screenshot.png | 381.935 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
search.php | 1.05 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
searchform.php | 0.559 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
sidebar.php | 0.826 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
single.php | 0.858 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |
style.css | 16.915 KB | May 29 2023 22:41:18 | 1032 / wheelch2 | 0644 | |