Creating a new menu
-
I’m currently working through the Udemy course Complete WordPress Theme & Plugin Development Course [2021] by Zac Gordon. At section 41 on creating a menu, the code doesn’t appear to be working. I’ve tried contacting both Udemy and Zac directly about this but so far have had no response. The code in the functions.php file is as follows:
// Register Menu Locations register_nav_menus( [ 'main-menu' => esc_html__( 'Main Menu', 'wphierarchy' ), ]);
Any help appreciated. I’m working offline so can’t send a link.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Creating a new menu’ is closed to new replies.