<div class="news-container">

    <div class="foto">
        <a href="<?php echo get_the_permalink() ?>"><img alt="<?php echo get_the_title()?>" class="img-responsive" src="<?php echo get_the_post_thumbnail_url() ?>" /></a>
        <div class="data">
            <div class="giorno"><?php echo get_the_date('d'); ?></div>
            <div class="meseanno"><?php echo substr(get_the_date('F'), 0, 3); ?> <?php echo get_the_date('Y'); ?></div>

        </div>
    </div>
    <div class="info">
        <div class="folder-badge"><i class="fa-regular fa-folder-open"></i><span>News</span> </div>
        <div class="titolo"><a href="<?php echo get_the_permalink() ?>"><?php the_title(); ?></a></div>
        <div class="excerpt"><?php the_excerpt(); ?></div>

    </div>
</div>