generated from bisco/codex-bootstrap
feat: add wordpress site variant
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/** Fallback template. */
|
||||
|
||||
get_header();
|
||||
?>
|
||||
<main id="contenuto" class="section">
|
||||
<div class="container narrow">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article <?php post_class(); ?>>
|
||||
<h1><?php the_title(); ?></h1>
|
||||
<div class="rich-text"><?php the_content(); ?></div>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
<?php else : ?>
|
||||
<p><?php esc_html_e( 'Nessun contenuto disponibile.', 'azionelab' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user