

The 'additional-menu' name is what WordPress will understand to execute your code properly. In this example, 'Additional Menu' is the name that will appear in your admin dashboard's menu page. Register_nav_menu('additional-menu',_( 'Additional Menu' )) Īdd_action( 'init', 'register_my_menu' ) If you'd like to add only one menu, add the following code on a new line: Open the 'functions.php' file for editing. Navigate to /wp-content/themes/your_theme/ directory on your server. Registering New WordPress Add Menu LocationĪccess your server using ftp client or FileManager provided by your host. Moreover, if you are a blog reader, you can get a 5% discount on the subscription using the simple promo code BecomeThe1. Just subscribe for ONE and get unlimited quantity of cool elements! Check out what WordPress themes we have for you now within the subscription and choose the most appropriate ones.

The subscription costs only $19 a month and gives you access to downloads of any material from ONE package. Hey, you! Have you heard about our new subscription service ONE? If no, just keep reading what I’m telling you about! Our new subscription service ONE can give you an awesome opportunity to save your money and to get more items. All it takes is adding a snippet of code to your 'functions.php' file located under /wp-content/themes/your_theme/ directory on the server. To add a new menu location option in your admin dashboard under Appearance > Menus you need to 'register a menu'. Before making changes to any of your core files, it's best to backup your entire site in case something goes wrong along the way. To create a new menu you need to edit your theme files. Sometimes you may need to add an extra navigation menu with important or frequently used links to increase the usability of your WordPress site. As you can see, the process of setting up the theme is very easy, and Colormag offers a host of options to fine-tune the appearance and working of the website.

#Wordpress colormag pro tutorial how to#
This guidance will explain you how to add WordPress menu location to your theme. In this (long) tutorial, I discussed the use of Colormag theme for setting up a magazine website on WordPress.
