first commit

This commit is contained in:
gustavooth
2026-07-23 20:32:08 -03:00
commit 2df14d57dd
62 changed files with 9780 additions and 0 deletions
@@ -0,0 +1,35 @@
<?php
/**
* Global newsletter call to action, rendered before every site footer.
*
* @package Gustavo_Portfolio
*/
$gustavoo_newsletter_form_id = absint( gustavoo_portfolio_get_setting( 'newsletter_form_id' ) );
$gustavoo_privacy_url = get_privacy_policy_url();
?>
<section class="section section--newsletter" aria-labelledby="newsletter-title">
<div class="site-shell newsletter-panel">
<div class="newsletter-panel__content">
<p class="eyebrow"><?php echo esc_html( gustavoo_portfolio_get_setting( 'newsletter_eyebrow' ) ); ?></p>
<h2 id="newsletter-title" class="newsletter-panel__title"><?php echo esc_html( gustavoo_portfolio_get_setting( 'newsletter_heading' ) ); ?></h2>
<p class="newsletter-panel__description"><?php echo esc_html( gustavoo_portfolio_get_setting( 'newsletter_text' ) ); ?></p>
</div>
<div class="newsletter-panel__form">
<?php gustavoo_portfolio_the_fluent_form( $gustavoo_newsletter_form_id, 'newsletter' ); ?>
<?php if ( $gustavoo_privacy_url ) : ?>
<p class="form-privacy">
<?php
printf(
/* translators: %s: privacy policy URL. */
wp_kses_post( __( 'Você pode cancelar a inscrição a qualquer momento. Consulte a <a href="%s">Política de Privacidade</a>.', 'gustavoo-portfolio' ) ),
esc_url( $gustavoo_privacy_url )
);
?>
</p>
<?php endif; ?>
</div>
</div>
</section>