Answer the question
In order to leave comments, you need to log in
Wordpress how to display authorization/registration correctly?
There is a digits plugin, it is needed to create a registration by phone number and more.
He does an excellent job.
This is how he adds it on the checkout page.
What I need to do:
When scrolling through the page of the store, at a certain moment, display a modal window in which it will be proposed to log in / register and other information (you will be given a discount, etc.).
I tried a couple of plugins, settled on WP Popups - WordPress Popup builder. I set it up, made a conclusion, everything works, but in addition to the text, you need to somehow add this very authorization / registration.
If I output via "WP_login_form();" (I display it through a shortcode, first I create it myself in functions.php, since you cannot use php in the plugin editor). That results in the following.
As you can see, there is no phone number and no code.
The digits plugin itself has its own modal window. But it cannot be taken out. There are shortcodes that add a button, clicking on which will open a modal window. But I also need something that would not open when clicked.
You can try here - https://wolf.richgo.ru/shop (you need to scroll a little lower and a window will appear).
Also noticed something. If in this very modal window (try it yourself) select a login or password, then the window will close. But if you delete through the button on the keyboard, everything is fine.
Also, if you delete the login through the button on the keyboard, and then write any number, then the choice of the country code will appear and, in principle, the input form will become different for the phone number.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question