Closed shakirahmed100 closed 8 years ago
You mean you want the icon menu to display below the header on post pages?
@devinsays not sure best solution for this. @shakirahmed100 might be best to hardcode the post template with the icon menu code.
You can put the icon menu on any template, but it would require you to edit that template. If you want the menu on single.php, you could add this code:
<?php if ( has_nav_menu( 'icon' ) ) : ?>
<div id="menu-icon" class="clear">
<div class="col-width">
<?php
wp_nav_menu( array(
'theme_location' => 'icon',
'depth' => '1',
'container_class' => 'menu-icon-container'
) ); ?>
</div>
</div>
<?php endif; // Icon Menu ?>
Right after the header call.
Can we display incon menu on posts? We know normally incon menu shows on pages (when we select home template). But there is no option to select home template while posting articles as post. So, is there any way we can display incon menu on posts?
Thanks