Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

Reply To: Add Page Headers to BBpress?

Home Forums Support Add Page Headers to BBpress? Reply To: Add Page Headers to BBpress?

#189394
Tom
Lead Developer
Lead Developer

So using GP Hooks, you would add something like this to the “After Header” hook:

<?php if ( is_bbpress() ) : ?>
    <div class="page-header-image grid-container grid-parent generate-page-header">
            <img src="URL TO YOUR BBPRESS HEADER IMAGE" alt="" itemprop="image">
      </div>
<?php endif; ?>

Then check the “Execute PHP” checkbox.