ThemeMyLoginwordpress

How to add a custom button to theme my login’s login page?

By October 9, 2020 No Comments
1
2
3
4
5
6
7
8
9
10
11
12
13
    jQuery("document").ready(function(){
       
       

        if(window.location.href.includes("login")) {

                    jQuery('.tml-submit-wrap').append('<button name="submit" type="button" class="tml-button" onclick="window.location=\'https://www.domain.com/LINK\'">Custom Button</button>')

           
        }
       
       
    })