HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
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/mussarq_bak2/wp-content/themes/catch-vogue/template-parts/content/content.php
<?php
/**
 * Template part for displaying posts
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Catch Vogue
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="hentry-inner">
		<?php if ( has_post_thumbnail() ) : ?>
		<div class="post-thumbnail">
			<a href="<?php the_permalink(); ?>" rel="bookmark">
				<?php 
				$columns = catch_vogue_get_posts_columns();
				$thumbnail = 'post-thumbnail';

				if ( 'layout-one' === $columns ) {
					$thumbnail = 'catch-vogue-blog';
					$layout  = catch_vogue_get_theme_layout();
				
					if ( 'no-sidebar-full-width' === $layout ) {
						$thumbnail = 'catch-vogue-slider';
					}
				}

				the_post_thumbnail( $thumbnail ); 
				?>
			</a>
		</div>
		<?php endif; ?>

		<div class="entry-container">
			<?php if ( is_sticky() ) : ?>
			<span class="sticky-label"><?php esc_html_e( 'Featured', 'catch-vogue' ); ?></span>
			<?php endif; ?>

			<header class="entry-header">
				<?php
				if ( 'post' === get_post_type() ) :
					if ( is_singular() ) :
						the_title( '<h1 class="entry-title">', '</h1>' );
					else :
						the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
					endif;
				endif; ?>
			</header><!-- .entry-header -->


			<?php
				echo '<div class="entry-summary"><p>' . get_the_excerpt() . '</p></div><!-- .entry-summary -->'; ?>

				<div class="entry-footer">
					<div class="entry-meta entry-meta-left">
						<?php catch_vogue_blog_entry_meta_left(); ?>
					</div><!-- .entry-meta -->

					<div class="entry-meta entry-meta-right">
						<?php catch_vogue_blog_entry_meta_right(); ?>
					</div><!-- .entry_category -->
				</div><!-- .entry-footer -->
		

		</div> <!-- .entry-container -->
	</div> <!-- .hentry-inner -->
</article><!-- #post-<?php the_ID(); ?> -->