Home › Forums › Support › Different site header on each page › Reply To: Different site header on each page
September 19, 2016 at 11:15 pm
#227863
Tom
Lead Developer
Lead Developer
You could use GP Hooks to add your slider on the homepage. Add the shortcode in the Before Header Content hook:
<?php if ( is_front_page() ) : ?>
Shortcode here
<?php endif; ?>
Then hide the rest of your header stuff on the home page with CSS:
.home .site-logo {
display: none;
}
Then you can use the Page Header add-on to upload a custom logo on specific pages: https://generatepress.com/knowledgebase/generate-page-header/
Hope this helps 🙂