wp menu location

Assigns, removes, and lists a menu's locations.

EXAMPLES

# List available menu locations
$ wp menu location list
+----------+-------------------+
| location | description       |
+----------+-------------------+
| primary  | Primary Menu      |
| social   | Social Links Menu |
+----------+-------------------+

# Assign the 'primary-menu' menu to the 'primary' location
$ wp menu location assign primary-menu primary
Success: Assigned location to menu.

# Remove the 'primary-menu' menu from the 'primary' location
$ wp menu location remove primary-menu primary
Success: Removed location from menu.

SUBCOMMANDS

Name Description
wp menu location assign Assigns a location to a menu.
wp menu location list Lists locations for the current theme.
wp menu location remove Removes a location from a menu.