first commit: gustavoo-portfolio theme + gustavoo-portfolio-core plugin

This commit is contained in:
gustavooth
2026-07-23 21:06:39 -03:00
commit aff10f7880
60 changed files with 9778 additions and 0 deletions
@@ -0,0 +1,44 @@
<?php
/**
* Category, tag, author, and date archives.
*
* @package Gustavo_Portfolio
*/
get_header();
?>
<main id="primary" class="site-main archive-main">
<header class="page-hero page-hero--archive">
<div class="site-shell page-hero__inner">
<p class="eyebrow"><?php esc_html_e( 'Arquivo', 'gustavoo-portfolio' ); ?></p>
<h1 class="page-hero__title"><?php echo esc_html( wp_strip_all_tags( get_the_archive_title() ) ); ?></h1>
<?php if ( get_the_archive_description() ) : ?>
<div class="page-hero__description prose"><?php echo wp_kses_post( get_the_archive_description() ); ?></div>
<?php endif; ?>
</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();