Please tell me how to add to wp site with woocommerce popup with registration without using a plugin. The Internet is full of rubbish on this topic and 80% of the offer puts more plugins. Authorization managed to tie native from wp. Fields: name, email password and repeat password
- So what's the problem? look at source codes of plug-ins .... and by example implement. - pepel_xD
|
1 answer
Take any modalok plugin (if you have a bootstrap site, then you already have them). Add it to the site using
wp_enqueue_script. This may be prettyPopin , for example.Create a page through the WordPress admin panel, for example, with the slug
/access/Make a template with the form inside the
page-access.phpin your theme.Add a link / button to the site (in the header / sidebar) that opens your modalku ajax on urlu
/access/
Everything)
The form itself is sent to the standard WordPress login page. The address can be obtained using the wp_login_url function .
|