How Do I Add a Max Mega Menu in WordPress?

Adding a max mega menu in WordPress is a simple process. First, you will need to create a new file in your theme called “includes/nav-menu.

php”. Within this file, you will need to add the following code:.

‘max-mega-menu’, ‘container’ => ‘div’, ‘items_per_page’ => 12, ‘menu_anchor’ => ”, ‘menu_position’ => ‘top’, ‘meta_title’ => ”, ‘meta_keywords’ => ”, ‘orderby’ => ‘menu_order’, ‘posts_per_page’ => 12, ‘query_var’ => ‘ID’, ‘order’ => ‘ DESC ‘, ‘depth’ => ‘1’, ‘parent_item_id’ => null, ‘parent_item_parent’ => null, ‘menu_order’ => ‘0’, ‘post_type’ => ‘nav_menu_item’, ‘taxonomy’ => ‘nav_menu_item_category’, ‘posts_per_page’ => 12, ‘orderby’ => ‘menu_order’, ‘posts_per_page_limit’ => 12, ‘have_posts’ => 1, ‘max_num_pages’ => 3, ‘menu_type’ => ‘mega_menu’) ); ?>

Within this file, you will need to set the following values:

container_class – This will be “max-mega-menu”

container – This will be the div that will hold the menu

items_per_page – This will be 12

menu_anchor – This will be “”

menu_position – This will be “top”

meta_title – This will be “Max Mega Menu”

meta_keywords – This will be empty

orderby – This will be “menu_order”

posts_per_page – This will be 12

query_var – This will be “ID”

order – This will be “DESC”

depth – This will be “1”

parent_item_id – This will be null

parent_item_parent – This will be null

menu_order – This will be “0”

post_type – This will be “nav_menu_item”

taxonomy – This will be “nav_menu_item_category”

posts_per_page_limit – This will be 12

have_posts – This will be 1

max_num_pages – This will be 3

menu_type – This will be “mega_menu”

Once you have added this code, you will need to save the file and then activate the max mega menu plugin. Within the plugin options, you will need to set the following values:

menu_position – This will be “bottom”

Once you have set these values, you will need to add a new menu item to your blog. Within the WordPress admin, you will need to click on “Posts”, and then click on the “Add New” button.

Within the “Add New” screen, you will need to type in “Menu Item” and then click on the “Submit” button. Within the “Menu Item” screen, you will need to type in “Max Mega Menu” and then click on the “Add” button.

Once you have added this menu item, you will need to set the following values:

menu_order – This will be “1”

menu_depth – This will be “1”

Once you have set these values, you will need to click on the “Save Changes” button and then click on the “Publish” button. Within the “Publish” screen, you will need to click on the “Save” button and then click on the “Publish” button again.

Now, your max mega menu will be live on your blog!.