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

  1. terchris
    Posted 2 years 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.


    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>
    		<input type="text" name="log" class="input" value="">
    		<input type="password" name="pwd" class="input" value="">
        	<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>


  2. Philip John
    Posted 2 years ago #


    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/


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic