HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: /datos/www/www.colombia.co/public_html/wp-content/themes/colombia2016-old/sidebar-article.php
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
	<?php if(has_post_thumbnail()): ?>
		<figure class="post-img">
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
			<?php the_post_thumbnail(); ?>
			</a>
		</figure>
	<?php
		else:
			$thumb = get_field('thumb_post');
			if($thumb['sizes']['thumbnail']):
	?>
		<figure class="post-img">
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
				<img src="<?php echo $thumb['sizes']['thumbnail']; ?>" alt="<?php echo $thumb['alt']; ?>" title="<?php echo $thumb['title']; ?>" />
			</a>
		</figure>
	<?php
			endif;
		endif;
	?>
	<div class="post-text">
		<h2 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
	</div>
</article>