Adicionar Subtitulo a paginas AMP

<?php global $redux_builder_amp;
do_action(‘ampforwp_above_the_title’,$this); ?>
<header class=”amp-wp-content amp-wp-article-header ampforwp-title”>
<h1 class=”amp-wp-title”> <?php
$ampforwp_title = $this->get( ‘post_title’ ) ;
$ampforwp_title = apply_filters(‘ampforwp_filter_single_title’, $ampforwp_title);
echo wp_kses_data( $ampforwp_title );?>
</h1>
<?php if( array_key_exists( ‘enable-excerpt-single’ , $redux_builder_amp ) ) {
if($redux_builder_amp[‘enable-excerpt-single’]) {
if( has_excerpt() ){ ?>
<div class=”ampforwp_single_excerpt”>
<?php $content = get_the_excerpt();
echo $content; ?>
</div> <?php
}
}
} ?>
</header>
<?php do_action(‘ampforwp_below_the_title’,$this); ?>
<!–adicionarsubtitulo—>
<center><h2 class=”post-subtitle” style=”font-size:12px;”><?php

if ( function_exists( ‘publisher_the_subtitle’ ) ) {
publisher_the_subtitle( ‘<h2 class=”post-subtitle”>’, ‘</h2>’ );
}

if ( $show_excerpt === ‘after-title’ ) { ?>
<div class=”single-post-excerpt post-excerpt-at”><?php the_excerpt(); ?></div><?php
}

if ( $post_settings[‘meta’][‘show’] || $post_settings[‘term’] || $post_settings[‘format-icon’] )

?></h2> </center><!–fim adicionarsubtitulo—>