WordPress Login Modal

There is a login modal in the AP3 Ion Theme that works differently than the side menu login modal.

The WordPress login modal has more customization options, but it must be initiated from a WordPress page.

To use it, first add a WordPress page to your app. On that page, you can add a link like this:

<a href="#loginModal" class="button io-modal-open">Login</a>

That will open the login modal.

Customizing the Login Modal

To add content to the modal, you can use the following action hooks:

appp_login_modal_before()
appp_login_modal_after()

function my_appp_login_customization() {
echo 'My custom content';
}
add_action('appp_login_modal_after', 'my_appp_login_customization' );