Spamworldpro Mini Shell
Spamworldpro


Server : nginx/1.20.1
System : Linux ccpf-production-2021 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64
User : forge ( 1000)
PHP Version : 7.4.21
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /home/forge/gcc-ccpf.com/wp-content/themes/labora/post-formats/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/forge/gcc-ccpf.com/wp-content/themes/labora/post-formats/content-image.php
<?php
/**
 * The template for displaying posts in the Image post format
 * @package WordPress
 */
global $labora_allowed_html;
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php
	if ( is_single() ) {
		if ( has_post_thumbnail() && get_option( 'labora_blogfeaturedimg' ) !== 'on' ) { ?>
			<div class="postimg">
				<?php echo '<figure>' . wp_kses( labora_img_resize( $post->ID, '', '870', '870', '', '' ), array(
						'img' => array(
							'alt' => true,
							'src' => true,
							'class' => true,
							'width' => true,
							'height' => true,
						),
				) ) . '</figure>'; ?>
			</div><?php
		}
	} else {
		if ( has_post_thumbnail() ) {  ?>
			<div class="postimg">
				<?php echo '<figure>' . wp_kses( labora_img_resize( $post->ID, '', '870', '870', '', '' ), array(
						'img' => array(
							'alt' => true,
							'src' => true,
							'class' => true,
							'width' => true,
							'height' => true,
						),
				) ) . '</figure>'; ?>
			</div><?php
		}
	} ?>
	<div class="iva-post-content">
	<header class="entry-header">
	<?php
	if ( is_single() ) {
		the_title( '<h2 class="entry-title">', '</h2>' );
	} else {
		the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
	}
	?>
	<?php if ( get_option( 'labora_postmeta' ) !== 'on' ) { ?>
		<div class="entry-meta">
			<?php labora_post_metadata(); ?>
		</div><!-- .entry-meta -->
	<?php } ?>
	</header><!-- .entry-header -->

	<div class="entry-content">
	<?php
	if ( has_excerpt() && ! is_single() ) {
		the_excerpt();
		echo '<a class="more-link" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Read More','labora' ) . '</a>';
	} else {
		the_content( esc_html__( 'Read More', 'labora' ) );

		wp_link_pages( array(
			'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'labora' ) . '</span>',
			'after'       => '</div>',
			'link_before' => '<span>',
			'link_after'  => '</span>',
		));
	} ?>
	<?php if ( is_single() ) { the_tags(); } ?>
	</div><!-- .entry-content -->
	</div><!-- .iva-post-content -->
</article><!-- /post-<?php the_ID();?> -->
<?php

Spamworldpro Mini