Created
November 2, 2017 06:08
-
-
Save anonymous/ad1f012a24b0fc5b86a6d203026bbc90 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* Primary navigation. | |
* | |
* @since 1.0.0 | |
*/ | |
function clean_commerce_add_primary_navigation() { ?> | |
<div class="main-nav"> | |
<?php echo do_shortcode( '[maxmegamenu location=primary]'); ?> | |
</div> | |
<?php | |
} | |
remove_action( 'clean_commerce_action_before', 'clean_commerce_mobile_navigation', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment