<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
<?php get_header(); ?>
<div class="pagina articolo corp ">
<div class="contenuto">
<h1 class="main-title center pb-20"><?php echo single_term_title(); ?></h1>
<?php if ( have_posts() ) : ?>
<div class="blog-archive">
<?php while ( have_posts() ) : the_post(); ?>
<article class="item row">
<div class="image col-4 col-md-4 col-sm-12">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'thumbnail', array( 'alt' => get_the_title() ) );?></a>
<div class="data">
<div class="giorno"><?php echo get_the_date('j'); ?></div>
<div class="mese"><?php echo get_the_date('M'); ?></div>
</div>
</div>
<div class="text col-8 col-md-8 col-sm-12">
<div class="tit"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="intro"><?php the_excerpt(); ?></div>
<a class="read-more" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php esc_html_e( 'Leggi Tutto', 'bahamas' ); ?></a>
</div>
</article>
<?php endwhile; ?>
</div> <!-- Blog -->
<!-- Add the pagination functions here. -->
<?php echo '<div class="pagination">' . paginate_links() . '</div>'; ?>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
All system for education purposes only. For more tools: Telegram @jackleet