Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author aviplugins.com

    (@avimegladon)

    In the plugin directory open the file named “login_afo_widget.php”
    Go to line number 53 you can see the form structure like this.

    <ul class="login_wid">
    	<li>Username</li>
    	<li><input type="text" name="user_username" required="required"/></li>
    	<li>Password</li>
    	<li><input type="password" name="user_password" required="required"/></li>
    	<li><input name="login" type="submit" value="Login" /></li>
    	<li><font size="+1" style="vertical-align:top;">Login with </font> <a href="javascript:void(0)" onClick="FBLogin();"><img src="<?php echo plugins_url( 'facebook.png' , __FILE__ );?>" alt="Fb Connect" title="Login with facebook" /></a></li>
    </ul>

    Here you can add the new user registration link. you can replace the code by this.

    <ul class="login_wid">
    	<li>Username</li>
    	<li><input type="text" name="user_username" required="required"/></li>
    	<li>Password</li>
    	<li><input type="password" name="user_password" required="required"/></li>
    	<li><input name="login" type="submit" value="Login" /></li>
    	<li><font size="+1" style="vertical-align:top;">Login with </font> <a href="javascript:void(0)" onClick="FBLogin();"><img src="<?php echo plugins_url( 'facebook.png' , __FILE__ );?>" alt="Fb Connect" title="Login with facebook" /></a></li>
    	<li class="register"><a href="<?php echo wp_registration_url(); ?>" title="Register">Register</a></li>
    </ul>
    Thread Starter thanushka

    (@thanushka)

    Thank you so much. I added the register link.

    I was thinking of showing the registration form on the homepage, in another tab perhaps.
    For anyone interested, http://codex.wordpress.org/Customizing_the_Registration_Form

    Thread Starter thanushka

    (@thanushka)

    I forgot to mention I have the Facebook Login Widget Pro version and the code is a bit different. I pasted it after line 105. Thanks again.

    Plugin Author aviplugins.com

    (@avimegladon)

    Yes. the code for the PRO version is a bit different.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add a register option’ is closed to new replies.