Created
July 15, 2014 19:42
-
-
Save davidkryzaniak/49779e72154cc5e94169 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
function custom_top_navigation() | |
{ ?> | |
<h3 class="assistive-text"><?php _e( 'Menu', 'getnoticed' ); ?></h3> | |
<div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'getnoticed' ); ?>"><?php _e( 'Skip to content', 'getnoticed' ); ?></a></div> | |
<div id="primary-menu">! | |
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'fallback_cb' => false, 'depth' => 2 ) ); ?> | |
</div> | |
<?php getnoticed_social( array( 'class' => 'social', 'theme_location' => 'header' ) ); ?> | |
<div class="mobile_actions"> | |
<a class="mobile_menu" href="#menu">menu</a> | |
<div id="mobile_search"></div> | |
</div> | |
<?php } | |
add_action( 'getnoticed_top_navigation', 'custom_top_navigation',11); | |
function remove_default_actions() { | |
remove_action( 'getnoticed_top_navigation', 'getnoticed_top_navigation',11); | |
} | |
add_action('after_setup_theme','remove_default_actions',11); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remove ",11" on line 19.