Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m doing the same thing. But my approach is using a plugin to inject the content of the Register and Login form to their corresponding page. What I am doing is recreating the form, and using registration and login API.

    So far it works with user registration, I haven’t touch the login API yet until now.

    For registration form, the following codex functions can be used:
    – wp_create_user()
    – wp_generate_password()
    – wp_new_user_notification()

    Despite the name, the plugin Sidebar Login works fine to put a login form on a page. Just

    1. create a template for the page,
    2. add code to the template to show the form or the content — probably using is_user_logged_in(), and
    3. use the template tag <?php sidebarlogin(); ?> to generate the form.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login / Register using regular Page’ is closed to new replies.