HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: 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,
Upload Files
File: /var/www/html/onlineshop/wp-content/themes/nautica/content-gallery.php
<?php
/**
 * The template for displaying posts in the Image post format
 *
 * @package Engotheme
 * @subpackage Engo_Theme
 * @since EngoTheme 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php nautica_fnc_post_thumbnail($this->post_thumbnail); ?>

	<header class="entry-header">
		<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && nautica_fnc_categorized_blog() ) : ?>

			<?php
		endif;

		if ( is_single() ) :
			the_title( '<h1 class="entry-title">', '</h1>' );
		else :
			the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' );
		endif;
		?>

		<div class="entry-meta">
			<span class="post-format">
				<span class="fa fa-picture-o"></span> <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>"><?php echo esc_attr(get_post_format_string( 'gallery' )); ?></a>
			</span>

			<?php nautica_fnc_posted_on(); ?>

			<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
				<span class="comments-link"><span class="fa fa-comments-o"></span> <?php comments_popup_link( esc_html__( 'Leave a comment', 'nautica' ), esc_html__( '1 Comment', 'nautica' ), esc_html__( '% Comments', 'nautica' ) ); ?></span>
			<?php endif; ?>

			<?php edit_post_link( esc_html__( 'Edit', 'nautica' ), '<span class="edit-link"><span class="fa fa-pencil"></span>', '</span>' ); ?>
		</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

	<div class="entry-content">
		<?php
		/* translators: %s: Name of current post */
		if ( is_single() ) :
			the_content();
		else :
			the_excerpt();
			echo trim('<div class="readmore"><a href="' . esc_url( get_permalink() ) .'" rel="bookmark">'.esc_html__( 'Read more', 'nautica' ).'</a></div>');

		endif;
		?>
	</div><!-- .entry-content -->

	<?php
	if ( is_single() ) :
		?>
		<footer class="entry-footer row">
			<div class="tags_block col-sm-6 col-xs-12">
				<?php
				the_tags( '<span class="tag-title">Tags: </span> <span class="tag-links">', ', ', '</span>' );
				?>
			</div>
			<div class="social_network col-sm-6 col-xs-12">
				<?php do_action("nautica_social_share");?>
			</div>
		</footer>
		<div class="author">
			<?php
			$author_id = get_the_author_meta('ID');
			$author_avatar = get_avatar($author_id);
			$author_description = get_the_author_meta('description',$author_id);
			$author_display_name = get_the_author_meta('display_name',$author_id);
			$author_link = get_the_author_meta('user_url',$author_id);
			?>
			<div class="author-avatar">
				<figure>
					<?php echo trim($author_avatar);?>
				</figure>
			</div>
			<div class="author-info">
				<a rel="author" href="<?php echo esc_url($author_link);?>"><?php echo esc_attr($author_display_name);?></a>
				<div class="author-desc">
					<?php echo esc_html($author_description);?>
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
		<?php
	endif;
	?>
</article><!-- #post-## -->