Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Reviews Menu Actions
function register_review_menu() {
register_nav_menu('review-menu',__('Review Us Menu'));
}
add_action('init', 'register_review_menu');
// Use a hook on where you want that menu to appear. Depending on your theme or framework this section will be different.
// I include my menu at the bottom of the header section
add_action( 'fl_header_content_close', 'review_header_content_close');
function review_header_content_close() {
wp_nav_menu(array('theme_location' => 'review-menu'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.