Forum Replies Created
-
In reply to: Site divided into Two sections, how to specify different navbars?
October 6, 2011 at 10:01 pm #17920FYI for anyone who needs info:
Create your custom menu, name it and save it.
on the if (is_page(‘yourpage’)) code section, add:
‘menu’ => ‘yourcustommenuname’,
In reply to: Site divided into Two sections, how to specify different navbars?
October 6, 2011 at 1:55 am #17919I was able to remove the navbar on certain pages with this code:
<?php /* The navigation menu */ ?>
<div id=”header-menu-wrap”>
<?php
/* Header menu */
if (is_page(‘services-2’)){
$args = array(
‘container’ => ”,
‘menu_id’ => ‘header-menu’,
‘menu_class’ => ‘menu clearfix’,
‘fallback_cb’ => ”,
‘depth’ => 5,
‘theme_location’ => ‘Header Menu’,
);}
else
{
$args = array(
‘container’ => ”,
‘menu_id’ => ‘header-menu’,
‘menu_class’ => ‘menu clearfix’,
‘fallback_cb’ => ‘graphene_default_menu’,
‘depth’ => 5,
‘theme_location’ => ‘Header Menu’,
);}
But how can I specify one of my custom created menus for ‘fallback_cb’ => ”
Viewing 2 posts - 1 through 2 (of 2 total)
