Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php the_title( sprintf( '<h2 class="entry-title h2"><a href="%s">'.herald_post_format_icon(), esc_url( get_permalink() ) ), '</a></h2>' ); ?>
- <?php if( get_field('alt_title_article') ): ?>
- <h2 class="entry-title h2"><?php the_field('alt_title_article'); ?></h2>
- <?php else : ?>
- <?php the_title( sprintf( '<h2 class="entry-title h2"><a href="%s">'.herald_post_format_icon(), esc_url( get_permalink() ) ), '</a></h2>' ); ?>
- <?php endif; ?>
- <?php echo $ICO_result . get_field('alt_title_article'); ?>
- <h2 class="entry-title h2">
- <a href="<?php the_permalink() ?>">
- <?php echo herald_post_format_icon() . ( get_field( 'alt_title_article' ) ?: get_the_title() ) ?>
- </a>
- </h2>
Add Comment
Please, Sign In to add comment