temwp-kea/single-kej.php

45 líneas
880 B
PHP

<?php /* Template Name: novetat KEJ */ ?>
<?php get_header('kej');?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<div class="titol_post" style="background-image: url('<?php echo get_the_post_thumbnail_url(get_the_ID(), 'full' );?>');" />
<div class="titol-post-text">
<?php the_date('d/m/Y'); ?>
<h1><?php the_title();?>
</div>
</div>
<div id="principal">
<div class="post-text-principal">
<?php the_content();?></div>
<div class="post-columna-dreta">
<!-- <h3><?php pll_e("Compartir");?></h3>-->
<h3>
<?php
echo pll_current_language('name');
if (pll_current_language() == "eo") {
echo '<a href="/arhivo-de-novajoj/">';
} else {
echo 'a href="/arxiu-de-noticies/">';
} ?>
<?php pll_e("Arxiu de notícies");?></a>
</h3>
</div>
</div>
<?php
endwhile;
endif;
?>
<?php get_footer();?>