fbpx

Add a Signup Link for Non-Members to your Login page

If you want to replace the Login Core Page template with one that offers a signup link, copy and paste the code below into a Custom HTML block of the WordPress Editor.

In the example code provided below, the result is that the text “Not Yet a Member? Sign Up Here – we won't bite :)” appearing underneath the login form with the ‘Sign Up Here' text linking to a purchase of product ID 1. The messaging text and the link that it goes to should be amended to suit your needs. The goal is to allow potential new members a simple pathway to sign up from your login page.

[MM_Member_Decision isMember='true']
Vous êtes déjà connecté ! Besoin de vous déconnecter ? Vous pouvez le faire <a href="/fr/[MM_CorePage_Link type='logout']/" title="Déconnexion">ici</a>.
[/MM_Member_Decision]

[MM_Member_Decision isMember='false']
<p>Not Yet a Member? <a href="/fr/[MM_Purchase_Link productId='1']/">Sign Up Here</a> — we won't bite :)</p></br>
[MM_Form type='login']
<div class="mm-login">
[MM_Form_Message type='error']
[MM_Form_Message type='success']

<h3>Entrez votre nom d'utilisateur et votre mot de passe ci-dessous</h3>
<table>
    <tr>
        <td class="mm-label-column">
          <span class='mm-label'>Nom d'utilisateur</span>
        </td>
        <td class="mm-field-column">
          [MM_Form_Field name='username']
        </td>
    </tr>
    <tr>
        <td class="mm-label-column">
          <span class='mm-label'>Mot de passe</span>
        </td>
        <td class="mm-field-column">
          [MM_Form_Field name='password']
        </td>
    </tr>
    <tr>
        <td class="mm-label-column"></td>
        <td class="mm-field-column">
          [MM_Form_Button type='login' label='Login']
          <label for="rememberme" class="mm-remember-me"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever">
Souvenez-vous de moi</label>
        </td>
    </tr>  
<tr>
<td class="mm-label-column"></td>
 <td class="mm-field-column">
          <a href="/fr/[MM_CorePage_Link type='forgotPassword']/" class="mm-forgot-password">Mot de passe oublié</a>
        </td>
    </tr>
</table>
</div>
[/MM_Form]
[/MM_Member_Decision] 

In order to include the accurate signup link, make sure to edit the href attribute in the following line of code:

<p>Not Yet a Member? <a href="/fr/[MM_Purchase_Link productId='1']/">Sign Up Here</a> — we won't bite :)</p>
Cet article a-t-il été utile ?

Articles connexes

Vous ne trouvez pas la réponse que vous cherchez ?

Contactez notre équipe chargée de la réussite des clients
Contactez nous !