WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] replace em-booking-login-form with link to social login plugin (2 posts)

  1. terchris
    Member
    Posted 4 months ago #

    I have a social login plugin that handles login and user creation.

    I want to replace the form (below) that enables users to register and book. With a link to the social login plugin I´m using.

    Do I need to buy the pro version to do it ?

    eg http://social-login-plugin.com/#return-url
    where the return-url is the page of the event.

    Regards
    TerChris

    This is what I want to replace:

    <form class="em-booking-login-form" action="http://www....../wp-login.php" method="post">
    	<p>Log in if you already have an account with us.</p>
        <p>
    		<label>Username</label>
    		<input type="text" name="log" class="input" value="">
    	</p>
    	<p>
    		<label>Password</label>
    		<input type="password" name="pwd" class="input" value="">
        </p>
        	<input type="submit" name="wp-submit" id="em_wp-submit" value="Log In" tabindex="100">
    	<input name="rememberme" type="checkbox" id="em_rememberme" value="forever"> <label>Remember Me</label>
    	<input type="hidden" name="redirect_to" value="http://http://www...../workshops/test-event-1/#em-booking">
    
    		<a href="http://www...../register/">Sign Up</a>  |   
    
    	<a href="http://....../wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
      </form>

    https://wordpress.org/plugins/events-manager/

  2. philipjohn
    Member
    Posted 4 months ago #

    Hiya,

    You just need to overwrite the template file for that form which is at events-manager/templates/forms/bookingform/login.php

    To see how to do that properly take a look at http://wp-events-plugin.com/documentation/using-template-files/

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic