Login And Registration

Aardvark allows users to login via a custom login/registration pages or popup windows.

Login Page

Step 1: Create or edit and a page and click the Backend Editor button.

Step 2: Click the Add Template button to open the Templates window and under the Default Templates tab click the Login Page link.

Step 3: This will set the page template to Homepage and insert the Login/Register Form element into the page as well as other elements to create a page that looks like the demo login page.

Step 4: Click Save Changes when you’re finished.

Step 5: You can now add a link to the login page in your menus by going to Appearance > Menus and from the Custom Links tab create a new link. Select Login Link from the Menu Type dropdown menu and set the URL to the page URL you just created, give your link a title and click Add to Menu.

Registration Page

If you are using BuddyPress you will need to use the registration page generated by this plugin.

Step 1: To enable registration on your site go to Settings > General and make sure the Membership checkbox is checked.

Step 2: Create or edit and a page and click the Backend Editor button.

Step 3: Click the Add Template button to open the Templates window and under the Default Templates tab click the Login Page link.

Step 4: This will set the page template to Homepage and insert the Login/Register Form element into the page as well as other elements to create a page that looks like the demo login page.

Step 5: Click Save Changes when you’re finished.

Step 6: You can now add a link to the login page in your menus by going to Appearance > Menus and from the Custom Links tab create a new link. Select Register Link from the Menu Type dropdown menu and set the URL to the page URL you just created, give your link a title and click Add to Menu.

Login Popup Window

Step 1: Go to Aardvark > Theme Options > Membership and make sure the Login/Register Popup Window option is enabled.

Step 2: Next go to Appearance > Menus and from the Custom Links tab create a new link. Select Login Link from the Menu Type dropdown menu. Set the URL to “#”, give your link a title and click Add to Menu.

Registration Popup Window

If you are using BuddyPress you will need to use the registration page generated by this plugin.

Step 1: Go to Aardvark > Theme Options > Membership and make sure the Login/Register Popup Window option is enabled.

Step 2: Next go to Appearance > Menus and from the Custom Links tab create a new link. Select Register Link from the Menu Type dropdown menu. Set the URL to “#”, give your link a title and click Add to Menu.

Restrict Frontend Access

Step 1: Go to Aardvark > Theme Options > Membership > Restrict Frontend Access and select the page you want to redirect non logged in users to.

Restrict Backend Access

Step 1: To redirect non logged in users to the homepage and show the login/register popup window before users can access the backend go to Aardvark > Theme Options > Membership and enable the Backend Login/Register Popup Window option.

Step 2: If you want to redirect users to a specific page instead, disable the Backend Login/Register Popup Window option.

Step 3: You will now see a Restrict Backend Access option where you select the page non logged in users will be redirected to when trying to access backend pages.