Hi NM6.
I saw the code in Header.php and saw the opening divs at the bottom, which I guess close in footer.php.
That’s correct.
This is what’s restricting me from adding the area in my single-d.php template.
Not sure I understand how that is a restriction. And is that a page template you created?
Thread Starter
NM6
(@himahuja)
Hi bdbrown,
Thanks for responding so quickly. My single-d.php is a template for all single posts in a custom post type. It has custom fields for specific information display. But it could easily be a category template also.
To add a full width slideshow (only for the CPT) in Hueman below header and above the page content, it needs to be added after the </header> closing div and before the opening div <container -page>. And these divs open in header.php, which is common for all the templates. Either I need to make a custom header.php for my CPT, else I need to bypass the universal header somewhow. And that’s where currently I’m stuck.
Hope it explains my situation 🙂
Thread Starter
NM6
(@himahuja)
Hi bdbrown,
I got it working with the following function in my header.php :
if ( is_singular( 'destination' ) ) : ?>
<div id="dest_slider" class="container-inner">
slider
</div>
<?php endif; ?>