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/terms.php
<?php
	/**
	* Template Name: Terms
	*/

	get_header();
	$subtitle = get_post_meta(get_the_ID(), 'subtitle', true);
?>

<main role="main" class="l-flex">
	<div id="category-header">
		<div class="l-container l-flex">
			<div class="cat-header-container">
				<?php 
					if($subtitle){
				?>
					<h2 class="cat-name"><?php the_title(); ?></h2>
					<h1 class="cat-title"><?php echo $subtitle; ?></h1>
				<?php
					}
					else{
				?>
					<h1 class="cat-title"><?php the_title(); ?></h1>
				<?php } ?>
			</div>
		</div>
	</div>
	<div id="content-wrapper" class="l-container l-flex">
		<section id="post-content">
			<?php while ( have_posts() ) : the_post(); ?>

				<article <?php post_class('l-flex'); ?> id="post-<?php the_ID(); ?>">
					<?php if(has_excerpt()): ?>
					<div class="post-excerpt">
						<?php the_excerpt(); ?>
					</div>
					<?php endif; ?>
					<div class="post-content">
						<?php the_content(); ?>
					</div>
				</article>

			<?php endwhile; ?>
		</section>
		<?php get_sidebar(); ?>
	</div>
</main>

<?php get_footer(); ?>