Hello,
There isn’t a built-in way to remove Orders and Addresses tabs from my-account menu. But you can try this tutorial to achieve your requirement.
Please note that custom code should be added to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update.
Hi maykato, this tutorial I have follow before, but unfortunelly, when I do this, the other plugin I use for wallet, stop to work.
There is not any way to HIDE thouse tabs?
Thanks in advance
Hi there 👋
This can be hided with some custom CSS. Under Customize > Additional CSS, you can add the following code:
/*Hide order and address from my account*/
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders {
display: none !important;
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address {
display: none !important;
}
If you’d like to learn more about CSS, I highly recommend using the free tutorials at w3schools. Here, you can find the basics of selectors (how to target the right element on the page), and properties (how to change the element on the page).
Cheers!
exceptional, now it works!!!! thanks!!!
We are happy to help 😃
Great! If you have any further questions, you can start a new thread.
Cheers!