PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
mendrisio
/
wp-content
/
themes
/
cittadimendrisio
<?php global $wpdb, $wp_query, $post; $relations = new CDM_Get_Relations(); $queried_obj = get_queried_object(); $links = ''; $type = get_post_type( get_the_ID() ); $meta = get_post_meta( get_the_ID() ); get_header(); get_header( 'global' ); $short_nav_types = [ 'servizio', 'struttura' ]; ?> <div class="clearfix" role="document"> <div class="col-left grid_2"> <nav class="nav-secondary <?= ( in_array( $type, $short_nav_types ) ? 'nav-short' : '' ); ?>" id="nav-secondary" role="navigation" aria-label="Navigazione nella sezione"> <h1 class="hide">Menu secondario</h1> <?php new CDM_Left_Side_Menu( $queried_obj ); ?> </nav> </div> <!--/ END col-left --> <?php get_template_part( 'partials/site', 'breadcrumb' ); ?> <!-- MAIN CONTENT --> <!-- VOICE_BEGIN --> <main class="main grid_10" role="main" id="maincontent"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- inizio del contenuto vero e proprio--> <article role="article" class="speakit"> <h1 class="main-title"><?php the_title(); ?></h1> <div class="content"> <?php if ( $post->post_type == 'post' ) { echo '<figure class="figure-content-inside" role="img">'; the_post_thumbnail( 'large', ['class' => 'img-scale'] ); echo '</figure>'; } /** * In base al Custom Post Type carico un loop differente per la gestione del layout */ switch ( $post->post_type ) { case ( 'avviso' ) : get_template_part( 'loop', 'avviso' ); break; default: the_content(); break; } echo the_modified_date( 'd.m.Y', '<small class="pag-update-time">' . __( 'Ultimo aggiornamento', 'cdm' ) . ': ', '</small>', false ); ?> </div> <!--/ END content --> </article> <!--/ END article --> <?php endwhile; else: _e( 'Nessun contenuto disponibile', 'cdm' ); endif; include( locate_template( 'sidebar-page.php' ) ); ?> </main> <!-- VOICE_END --> <!-- / main grid_10--> </div><!-- / clearfix--> <?php get_footer(); ?>
[-] tmpl-homepage.php
[open]
[-] loop-innermenuadvanced.php
[open]
[-] tmpl-archivio.php
[open]
[-] sidebar-base.php
[open]
[-] header-global.php
[open]
[-] author.php
[open]
[-] tmpl-archivio-news.php
[open]
[-] loop-tipodiavviso.php
[open]
[-] functions.php
[open]
[-] 404.php
[open]
[+]
assets
[+]
language
[+]
_framework
[-] single-event.php
[open]
[-] loop-innermenu.php
[open]
[-] loop-doctaxonomy.php
[open]
[+]
..
[-] single.php
[open]
[-] taxonomy.php
[open]
[-] tmpl-events.php
[open]
[+]
partials
[-] taxonomy-event-categories.php
[open]
[+]
plugins
[-] page.php
[open]
[-] footer.php
[open]
[-] loop-innermenuadvancedusers.php
[open]
[-] search.php
[open]
[-] archive.php
[open]
[-] header.php
[open]
[-] loop-avviso.php
[open]
[-] screenshot.png
[open]
[-] sidebar-page.php
[open]
[-] index.php
[open]
[+]
feeds
[-] style.css
[open]