Reply To: Adding Page Title via GP Hook

Home Forums Support Adding Page Title via GP Hook Reply To: Adding Page Title via GP Hook

Home Forums Support Adding Page Title via GP Hook Reply To: Adding Page Title via GP Hook

#235140
Tom
Lead Developer
Lead Developer

You might need to update your conditional.

For example:

<?php if ( ! is_front_page() && ! is_home() ) : ?>

<div style="padding: 40px 0;background-color:#34788d;" class="page-banner">
         <div style="padding-left:50px;font-size:1.8em;color:white;" class="grid-container">
               <?php the_title(); ?>
         </div>
</div>

<?php endif; ?>