• webjuice

    (@webjuice)


    Hello Jeff, thank you for your work. I’m doing some tests to implement
    your plugin in our website. I’ve a problem, i want to show login and register forms in the same page

    So i created a custom template page-login-and-register.php, assigned to pages and put

    <div class="column first">
    <?php echo do_shortcode('[theme-my-login default_action="login" login_template="login-form.php"]'); ?>
    </div>
    <div class="column second opacity">
    <?php echo do_shortcode('[theme-my-login default_action="register" register_template="register-form.php"]'); ?>
    </div>

    if i go to /login all seems ok

    if i go to /regiter page the plugin show me 2 register forms

    can you help me? i look into the forum but can’t found the solution

    thanks
    AM

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    First of all, instead of using do_shortcode, use the template tag, theme_my_login.

    Also, what exactly are you trying to do? If you wanted both forms on one page, why would you still access both separate URLs?

    Thread Starter webjuice

    (@webjuice)

    Hello Jeff thank you for your reply,

    ok for the tags, i also have tried using the function theme_my_login()

    I’m creating one page with login and registration page, but the registration form action points to /register so i need to have separate url no? 🙂

    How can i manage all inside one unique page?

    thanks a lot
    AM

    Thread Starter webjuice

    (@webjuice)

    http://www.webjuice.it/login.png this is a screenshot

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Try creating a new page for it, rather than using the TML page.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Both login and register forms in same page’ is closed to new replies.