Multiple Headers
-
Please help me out here. I’m looking for the best way to create multiple headers for five different pages, not posts, not categories, but pages.
I’ve studied and found a way to include a slider for the front/home page as follows:
<?php if ( ot_get_option(‘header-image’) == ” ): ?>
<div align=”center”>
<?php
if (is_front_page() || is_home()) {
echo do_shortcode(“[masterslider id=6]”); //replace 6 with slider ID
}
?>
</div><?php endif; ?>
<?php if ( ot_get_option(‘header-image’) ): ?>Now, I’d like to know what to add for these five separate header images in relation to where my slider is now situated.
I appreciate anything you can do for me, as always.
Thank you with much appreciation.
- The topic ‘Multiple Headers’ is closed to new replies.