( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /home/andyinf/magnior.com/wp-includes/post-template.php on line 284 Call Stack #TimeMemoryFunctionLocation 10.0001397216{main}( ).../index.php:0 20.0002399256require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 30.177732704928require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 40.179432724800include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 50.179432724800get_header( ).../single-knowledgebase.php:2 60.179432725176locate_template( ).../general-template.php:41 70.179432725272load_template( ).../template.php:647 80.179632745896require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 90.180832756640get_the_excerpt( ).../header.php:40 100.180832756640apply_filters( ).../post-template.php:381 110.180832757040WP_Hook->apply_filters( ).../plugin.php:203 120.180832758544wp_trim_excerpt( ).../class-wp-hook.php:288 130.180832758544get_the_content( ).../formatting.php:3337 " /> Setting Up Menus – Magnior

Setting Up Menus

First you must define a menu before you can add items to it.
Under Appearance > Menus select ‘Create a new menu’ at the top of the page. Enter a name for your new menu in the ‘Menu Name’ box. Click the ‘Create Menu’ button.

Second thing is adding items to a menu. You can add different link types into your menu, these are split between panes left of the menu you’re currently editing. Select the ‘Pages’ that you want to add by clicking the checkbox next to each page title. Click the ‘Add to Menu’ button located at the bottom of this pane to add your selection(s) to the menu that you created in the previous step.

You can also create a Mega Menu and put sidebars in the menu. To create a mega menu add a page or a custom link to your menu and save it. Then open that menu, and you’ll see a ‘Menu Type’ drop down, that will let you choose a mega menu type. You can add up to 7 columns in a mega menu. Any sub menu of the mega menu will appear as a mega menu column.

In some of our themes sidebar can be added to the menu. Adding a sidebar is easy as adding a page. If you cannot see Add Sidebar drop down list you’ll need to go to ‘Screen options’, and check the Add Sidebar’ checkbox.

After you’ve set up your desired menu, make sure that desired menu is selected. Scroll down to the ‘Menu Settings’ and select location where you want to place selected menu.

If you want to have a onepager page, just use custom links and add a section name with the hashtag in front.
For example, if you have section on your page, that you’ve assigned the ‘about_us’ ID, you can link to it in menu by adding custom link with ‘#about_us’ in the link input field. This will enable the scroll to this section.

Click the ‘Save Menu’ button once you’ve added all the menu items you want.

Next article