Home › Forums › Calendar Products › Community Events › Custom Login Page
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by Brian.
-
AuthorPosts
-
April 12, 2015 at 7:32 pm #954943inkmouse2Participant
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!
StaceyApril 13, 2015 at 7:09 am #955020BrianKeymasterHi,
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
April 13, 2015 at 5:48 pm #955266inkmouse2ParticipantHi 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,
StaceyApril 14, 2015 at 7:19 am #955396BrianKeymasterIt 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.
June 10, 2015 at 12:40 pm #968567BrianKeymasterSince 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! 🙂
-
AuthorPosts
- The topic ‘Custom Login Page’ is closed to new replies.