Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @leost

    Could you please provide a screenshot of the button that you’re referring to?

    You can try the following code snippet to redirect the user to a page when clicking on the custom tab menu:

    jQuery(document).ready(function() {
       jQuery("a[data-tab='mycustomtabname']").on("click touchend", function() {
          window.location.href = "/hello-world";
       });
    });

    Just change the mycustomtabname to your tab key and the URL /hello-world to your page.

    Regards,

    Thread Starter leost

    (@leost)

    Hey Champ,

    Here is an screenshot with the button marked in red. LINK

    The plugin creates the button using the same name of the TAB at the menu, right?

    I will try the code snippet to redirect and let you know the result.

    Thanks!

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @leost

    You can only hide the Downloads button with CSS.

    #um_account_submit_mycustomtabname{
    display: none;
    }

    Change the mycustomtabname with the your custom tab key.

    Regards,

    Thread Starter leost

    (@leost)

    Hi @champsupertramp,

    Everything worked nicely!

    Thank you!

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Thanks for letting us know.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Account page menu’ is closed to new replies.