Reply To: Single Page PHP

Home Forums Support Single Page PHP Reply To: Single Page PHP

#208336
Tom
Lead Developer
Lead Developer

Hi Ryan,

Try this code:

<?php if ( is_single() || is_page() ) : ?>
    <div class="page-header-content generate-page-header generate-content-header">
        <div class="grid-container">
           <div class="above-header-title" style="text-align:center"><?php the_title(); ?></div>
        </div>
    </div>
<?php endif; ?>