-
Notifications
You must be signed in to change notification settings - Fork 33
/
taxonomy-tipi_notizia.php
68 lines (56 loc) · 1.77 KB
/
taxonomy-tipi_notizia.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* Archivi tassonomia Tipi Notizia
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#custom-taxonomies
* @link https://italia.github.io/design-comuni-pagine-statiche/sito/lista-risorse.html
*
* @package Design_Comuni_Italia
*/
get_header();
?>
<main>
<div class="container" id="main-container">
<div class="row justify-content-center">
<div class="col-12 col-lg-10">
<?php get_template_part("template-parts/common/breadcrumb"); ?>
</div>
</div>
</div>
<div class="container">
<div class="row justify-content-center row-shadow">
<div class="col-12 col-lg-10">
<div class="cmp-hero">
<section class="it-hero-wrapper bg-white align-items-start">
<div class="it-hero-text-wrapper pt-0 ps-0 pb-4 pb-lg-60">
<h1 class="text-black" data-element="page-name"><?php echo single_term_title( '', false ); ?></h1>
<?php the_archive_description('<div class="hero-text"> <p>','</p> </div>'); ?>
</div>
</section>
</div>
</div>
</div>
</div>
<div class="bg-grey-card py-5">
<div class="container">
<?php if ( have_posts() ) : ?>
<div class="row g-4">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/' . 'novita/cards-list' ); ?>
<?php endwhile; ?>
</div>
<div class="row my-4">
<nav class="pagination-wrapper justify-content-center col-12" aria-label="Navigazione pagine">
<?php echo dci_bootstrap_pagination(); ?>
</nav>
</div>
<?php else : ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>
</div>
</div>
<?php get_template_part("template-parts/common/valuta-servizio"); ?>
<?php get_template_part("template-parts/common/assistenza-contatti"); ?>
</main>
<?php
get_footer();