Skip to content

Instantly share code, notes, and snippets.

Created September 28, 2016 15:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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