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/embajadasyconsulados.procolombia.co/public_html/wp-content/themes/colombia2016/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-title"><?php the_title(); ?></h2>
					<h1 class="cat-name"><?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="breadcromp">
		    <ul>
		        <li>
		            <a href="<?php echo home_url(); ?>/" rel="home">< Inicio </a>
		        </li>
		        <li>
		            <strong>- <?php the_title(); ?></strong>
		        </li>
		    </ul>
		</section>
		
		<section id="post-content" class="terms-page">
			<?php while ( have_posts() ) : the_post(); ?>

				<article <?php post_class('l-flex'); ?> id="post-<?php the_ID(); ?>">
					<div class="post-content">
						<?php the_content(); ?>
					</div>
				</article>

			<?php endwhile; ?>
		</section>
	</div>
</main><!-- terms(hpp) -->

<?php get_footer(); ?>