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,35 @@
<?php
/**
* Blog sidebar.
*
* @package Gustavo_Portfolio
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<aside id="secondary" class="sidebar" aria-label="<?php esc_attr_e( 'Barra lateral do blog', 'gustavoo-portfolio' ); ?>">
<?php if ( is_active_sidebar( 'sidebar-blog' ) ) : ?>
<?php dynamic_sidebar( 'sidebar-blog' ); ?>
<?php else : ?>
<section class="widget widget_search">
<h2 class="widget__title"><?php esc_html_e( 'Pesquisar', 'gustavoo-portfolio' ); ?></h2>
<?php get_search_form(); ?>
</section>
<section class="widget widget_categories">
<h2 class="widget__title"><?php esc_html_e( 'Categorias', 'gustavoo-portfolio' ); ?></h2>
<ul>
<?php
wp_list_categories(
array(
'title_li' => '',
'show_count' => true,
)
);
?>
</ul>
</section>
<?php endif; ?>
</aside>