Download the PHP package amostajo/wordpress-login-page without Composer
On this page you can find all versions of the php package amostajo/wordpress-login-page. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package wordpress-login-page
Wordpress Login Page ADD-ON
Add-on package for Wordpress MVC.
Login Page add-on provides fully customizable ajax login, sign up, and password reset pages for wordpress. Everything out-of-the-box!
- Installation
- Configure in Template
- Usage
- Customization
- Hooks
- Coding Guidelines
- Copyright
Installation
This package requires Composer.
Add it in your composer.json
file located on your template's root folder:
Then run
or
to download package and dependencies.
Configure in Template
Add the following string line in your addons
array option located at your template's config file.
This should be added to:
app\Config\app.php
on Wordpress MVC.
Usage
Once installed and configured, this add-on will change your login, signup and reset password pages without you having to do anything.
Customization
All views (templates) located at the assets/views
folder can be customized in your theme.
Copy and paste them in your theme's views folder ( with same folder structure), like:
In your theme:
You can modify the HTML and add as many CSS classes as you please to fit your theme. Though there are a couple of things to consider:
- Maintain
@submit.prevent
,v-model
,v-show
, andv-for
attributes; otherwise you will lose all processing functionality. - Maintain `` tags, since they will echo important data in these views.
Hooks
Custom hooks to use (apart from those standard from Wordpress, like user_register
and wp_login
to name a few).
FILTER: addon_loginpage_redirect_to
Filters redirect to url.
FILTER: addon_loginpage_signup_userdata
Filters the userdata obtained from sign up form request.
Useful if you need to add more fields to your signup form.
FILTER: registration_errors
Filters sign up (registrations) errors.
Useful if you need to remove or add validations.
FILTER: addon_loginpage_signup_message
Filters message shown to user once registration is completed.
FILTER: retrieve_password_title
Filters email subject / title sent with reset password instructions.
FILTER: retrieve_password_message
Filters email message sent with reset password instructions.
NOTE: You should better modify the view that comes with the add-on instead of using this filter.
FILTER: reset_password_errors
Filters reset password errors.
Useful if you need to remove or add validations.
FILTER: addon_loginpage_forgotpassword_message
Filters message shown to user once reset instructions have been send.
FILTER: addon_loginpage_resetpassword_message
Filters message shown to user once password has been reset.
Coding Guidelines
The coding is a mix between PSR-2 and Wordpress PHP guidelines.
License
Page Login ADD-ON is free software distributed under the terms of the MIT license.
All versions of wordpress-login-page with dependencies
10quality/wpmvc-core Version >=3.0.0
10quality/wpmvc-addon Version 1.0.*