This topic has 5 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler
How do I set a new menu link on my account page to different endpoints? I have done it in the past but I didn’t do it to the child theme. It seems with the new update of WordPress since then, the method may have changed to create menu links.
Hello, Smithy534,
Thank you for getting in touch with us.
Account endpoints you can find in WooCommerce > Settings > Advanced.
To get further assistance, please contact support of the WooCommerce plugin – https://wordpress.org/support/plugin/woocommerce/
We hope this information is helpful.
Kind Regards,
8theme team
What I want to do is create new menu in the dashboard.php in the myaccount folder. I want to add extra menu
‘ . esc_html( $current_user->display_name ) . ‘‘, esc_html__(‘your account’, ‘xstore’) ); ?>
to clarify by default when you go to myaccount page there’s only 3 links such as recent orders, address, and account details. I want for example to add extra links on the tab such as a new logout link, payment method, etc….
Hello, Smithy534,
Thank you for using our theme.
We regret to inform you that additional customization of files is outside the scope of our basic support.
If you want to add “hardcode” link to your dashboard.php file then you need to simply copy xstore/woocommerce/myaccount/dashboard.php to your child-theme/woocommerce/myaccount/dashboard.php and make those changes -> https://prnt.sc/ahOmuP7SyEID (example)
If you would like to create custom endpoint then you may read next article about creating custom endpoints and create own ones -> https://webkul.com/blog/woocommerce-account-custom-endpoint/
After that, you should resave permalinks and make your modifications in the child-file mentioned above (child-theme/woocommerce/myaccount/dashboard.php).
We hope this information is helpful.
Kind Regards,
8theme team
Tagged: account page, best selling, endpoints, json, menu link, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up