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 1

  1. 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.

  2. Create a page through the WordPress admin panel, for example, with the slug /access/

  3. Make a template with the form inside the page-access.php in your theme.

  4. 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 .