Generatepress cabecera con titulo centrado

<?php if ( is_single() ) : ?>

<div class=”page-header-content-single parallax-enabled fullscreen-enabled vertical-center-container generate-page-header generate-content-header whatever-element ” >
<div class=”inside-page-header-container inside-content-header grid-container grid-parent vertical-center-enabled”>
<div class=”generate-inside-page-header-content”>

<?php the_title( ‘<h1 class=”entry-title” itemprop=”headline”>’, ‘</h1>’ ); ?>
</div>
</div>
</div>
<?php endif; ?>
<?php if ( is_page() && ! is_front_page() ) : ?>
<?php the_title( ‘<h1 class=”entry-title” itemprop=”headline”>’, ‘</h1>’ ); ?>
<?php endif; ?>

Deja un comentario