Can I add a new menu location to a theme?

I am wondering is it possible to add another menu location to a theme. I know how to add a menu but I want to have a new location to add a menu too.

  1. Look for the file that controls the header or navigation section of your theme. This file is typically named something like header.liquid or navigation.liquid.
  2. Open the file and find the code that generates the existing menu(s) in your theme. It might look like this:
{% if main_menu %}
  
{% endif %}
​
  1. To add a new menu location, you can duplicate the existing code block and modify it. For example, if you want to add a “Footer Menu”, you can duplicate the code block and make the following changes:
{% if footer_menu %}
  
{% endif %}
​