theme changes
This commit is contained in:
@@ -61,6 +61,20 @@ $gustavoo_primary_shortcut_attr = is_customize_preview() ? ' data-customize-part
|
||||
<?php endif; ?>
|
||||
</nav>
|
||||
|
||||
<?php if ( $gustavoo_is_editorial_page ) : ?>
|
||||
<div class="header-search">
|
||||
<button class="header-search__toggle" type="button" aria-expanded="false" aria-controls="header-search-panel" aria-label="<?php esc_attr_e( 'Pesquisar', 'gustavoo-portfolio' ); ?>">
|
||||
<svg aria-hidden="true" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
|
||||
</button>
|
||||
<div class="header-search__panel" id="header-search-panel" hidden>
|
||||
<?php get_search_form(); ?>
|
||||
<button class="header-search__close" type="button" data-search-close aria-label="<?php esc_attr_e( 'Fechar busca', 'gustavoo-portfolio' ); ?>">
|
||||
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user