HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/www/wp-content/themes/woodmart/templates/content-small.php
<?php
$post_format = get_post_format();
$gallery     = get_post_gallery( false, false );
$classes     = array(
	'wd-post',
	'blog-design-' . woodmart_loop_prop( 'blog_design' ),
	'blog-post-loop',
);

if ( ! get_the_title() ) {
	$classes[] = 'post-no-title';
}

?>
<article id="post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>>
	<div class="wd-post-thumb">
		<?php echo woodmart_get_post_thumbnail( woodmart_get_opt('blog_image_size', 'large' ) ); // phpcs:ignore ?>

		<?php /* translators: %s: Post title */ ?>
		<a class="wd-post-link wd-fill" tabindex="-1" href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark" aria-label="<?php echo esc_attr( sprintf( __( 'Link on post %s', 'woodmart' ), esc_attr( get_the_title() ) ) ); ?>"></a>
	</div>

	<div class="wd-post-content">
		<?php if ( woodmart_loop_prop( 'parts_title' ) ) : ?>
			<h3 class="wd-post-title wd-entities-title title post-title">
				<a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark">
					<?php the_title(); ?>
				</a>
			</h3>
		<?php endif; ?>

		<div class="wd-post-meta">
			<?php if ( is_sticky() ) : ?>
				<div class="wd-featured-post"></div>
			<?php endif; ?>

			<div class="wd-modified-date">
				<?php woodmart_post_modified_date(); ?>
			</div>

			<div class="wd-post-date wd-style-default">
				<time class="published" datetime="<?php echo get_the_date( 'c' ); // phpcs:ignore ?>">
					<?php echo esc_html( get_the_date( 'd M Y' ) ); ?>
				</time>
			</div>

			<?php if ( woodmart_loop_prop( 'parts_meta' ) && comments_open() ) : ?>
				<?php woodmart_enqueue_inline_style( 'blog-mod-comments-button' ); ?>
				<div class="wd-post-reply wd-style-2">
					<?php woodmart_post_meta_reply( true ); ?>
				</div>
			<?php endif; ?>
		</div>
	</div>
</article>