• Resolved maximodesarrollo

    (@maximodesarrollo)


    Hello, I would like to know how to hide the ORDERS and ADDRESSESS buttons from the users menu, as is not usefull on my users menu.

    Thanks!!!

    PD: NOT WANT TO DO UNLINK, I WANT TO HIDE THE BUTTON ITSELF! Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • MayKato

    (@maykato)

    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.

    Thread Starter maximodesarrollo

    (@maximodesarrollo)

    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

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    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!

    Thread Starter maximodesarrollo

    (@maximodesarrollo)

    exceptional, now it works!!!! thanks!!!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We are happy to help 😃

    Great! If you have any further questions, you can start a new thread.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘hide buttons on user menu’ is closed to new replies.