Reputation: 13
When I customize the my account page in woocommerce, I can edit right side section by creating my_account.php inside my account folder in woocommerce. But In left side it is showing "Define your 'My Account' navigation Apperance > Menus", After seeing this I tried to create menu called "My account", but there was no theme location existing, so I create a theme location called "my account menu". And I assign "my account" menu with theme location "my account menu".
I don't know how to connect this menu to my account page in woocommerce, the page again showing same "Define your 'My Account' navigation Apperance > Menus".
Upvotes: 0
Views: 1064
Reputation: 534
Call menu by menu name instead of theme_location
<?php wp_nav_menu( array( 'menu' => 'Main Menu' ) ); ?>
Upvotes: 0
Reputation: 21
Try Appearance>Menus>Custom Links
Otherwise:
Is the theme you are trying to edit a pre-built theme? Is the platform up-to-date or outdated (sometimes updates/bugs can alter functionality of pre existing code)? Sometimes there are errors in the theme build, as I have seen. In such a case, I would recommend reaching out to the theme developer(s) as they can usually help the best in this situation. If not, check back. Hope this helps.
Upvotes: 1