WordPress.org

Support

Support » Plugins and Hacks » Two registration pages?

Two registration pages?

Viewing 1 replies (of 1 total)
  • Hi,
    I asked a similar question a long time ago on the plugins Web site forum which is now closed. I am posting my question and the answer. If you see what I asked and the reply it may help you.

    QUESTION
    have user registration and login setup just fine for subscriber/regular retail customer.
    I want to also have another login for Wholesalers. I have created this wholesaler user type.
    Can I have a login page for the wholesalers that does not show the registration link?
    Wholesalers must contact me and I setup a user name and password for them with the extra level of access. How can I have one login page that shows the registration for regular users and another that only shows login and lost password for wholesalers. Also can I add a message that shows only on the wholesale login page.

    ANSWER

    1. Copy theme-my-login/templates/login-form.php to your current theme’s directory and rename it wholesale-login-form.php
    2. Edit the that template to suit your needs.
    3. Create a new page titled “Wholesale Login” and in it place the following shortcode:
    4. [theme-my-login login_template="wholesale-login-form.php"]

Viewing 1 replies (of 1 total)
  • The topic ‘Two registration pages?’ is closed to new replies.