Custom Login Page

Home Forums Calendar Products Community Events Custom Login Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #954943
    inkmouse2
    Participant

    Hi,

    I would like to use my custom login page instead of the default Community Events login page. My login page is a page created in WordPress with a login form shortcode. Where would I go to change this?

    Thank you!
    Stacey

    #955020
    Brian
    Keymaster

    Hi,

    Thanks for using our plugin.

    The login form is not a template to edit. It is using the WordPress function wp_login_form();

    However, we do not have filters to alter it directly.

    The best way to add your own login form is to follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To move and edit this file:

    the-events-calendar-community-events\views\community\edit-event.php

    Once in your theme you can wrap all the coding in your own logged in check and add your Login Form before ours shows. Then once someone is logged in using your form it would bypass ours.

    That is the only method we have available to change how the form looks besides doing css.

    Let me know if you have any follow up questions.

    Thanks

    #955266
    inkmouse2
    Participant

    Hi Brian,

    I have already created a custom login page within a WordPress page using a plugin that uses shortcode to call the wp-login.php within the WordPress page. This custom login page uses the WordPress url of http://www.whoknewytown.com/app-login/. I have set my community events to require a WordPress login to submit an event, which brings up the default wp-login.php set up in the community events plugin. My goal is that when the user is required to login to add an event, my custom login page (http://www.whoknewytown.com/app-login/) will be called instead of the community events wp-login.php. Is there any modification in the code I can make to achieve this result.

    Thanks,
    Stacey

    #955396
    Brian
    Keymaster

    It is possible, but not sure how deep you would have to go into the plugin to modify it which we cannot support and it is not recommended.

    You maybe to edit the add event template following the themers guide and add a redirect there to your custom login page. We are not redirecting to wp-login.php we are using the wp_login_form() to create a login form.

    #968567
    Brian
    Keymaster

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom Login Page’ is closed to new replies.