first commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Main fallback template.
|
||||
*
|
||||
* @package Gustavo_Portfolio
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="primary" class="site-main content-index">
|
||||
<header class="page-hero">
|
||||
<div class="site-shell page-hero__inner">
|
||||
<p class="eyebrow"><?php esc_html_e( 'Conteúdo', 'gustavoo-portfolio' ); ?></p>
|
||||
<h1 class="page-hero__title"><?php esc_html_e( 'Publicações recentes', 'gustavoo-portfolio' ); ?></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="site-shell article-layout">
|
||||
<div class="article-layout__main">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<div class="posts-grid">
|
||||
<?php
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'template-parts/global/post-card' );
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php gustavoo_portfolio_pagination(); ?>
|
||||
<?php else : ?>
|
||||
<?php get_template_part( 'template-parts/content/content', 'none' ); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user