Created
October 2, 2013 01:49
-
-
Save sforsparky/6787975 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//MODIFY SITE URL uncomment below and load admin page | |
//update_option('siteurl','http://dev.islandair.com'); | |
//update_option('home','http://dev.islandair.com'); | |
/* Disable the Admin Bar. */ | |
add_filter( 'show_admin_bar', '__return_false' ); | |
//register the custom menus | |
function register_my_menus() { | |
register_nav_menus( | |
array( | |
'primary_nav' => __( 'Primary Nav' ), | |
'fly_nav' => __( 'Fly Nav' ), | |
'traveldetails_nav' => __( 'Travel Details Nav' ), | |
'offers_nav' => __( 'Offers Nav' ), | |
'customerservice_nav' => __( 'Customer Service Nav' ), | |
'aboutus_nav' => __( 'About Us Nav' ), | |
'bottomfooter_nav' => __( 'Bottom footer Nav' ), | |
'mobile_nav' => __( 'Mobile Nav' ) | |
) | |
); | |
} | |
add_action( 'init', 'register_my_menus' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment