This user guide has been designed to help you use this plugin at its maximum potential by describing in detail the installation, setting and usage procedure.
- Go to the Dashboard and click Plugins > Add New.
- Enter Place Login under search textbox.
- Click Install Now to install this plugin.
- Confirm the popup window to install the plugin.
- Click Proceed to continue with the installation.
- Click Activate Plugin to activate it.
- Download the files for this plugin.
- Upload the files to the wp-content/plugins directory.
- Go to the Dashboard and find this plugin in the list.
- Click Activate Plugin to activate it.
Go to the dashboard and click Place Login under Settings menu. Then, you will see the Place Login Options page. This page is divided in 4 sections: Usage, Redirect, Login links and Logged in links.
This section describes the two ways to use the plugin. Either you can use the template tag or you can put the widget in your sidebar.
This section contains 2 options: after login and after logout.
After login: This option is used to enter the URL to be used after the user has been logged in.
After logout: This option is used to enter the URL to be used after the user has been logged out.
Note: When after login and after logout fields are left in blank, the plugin uses the current page.
This section contains 3 options: parent page, register and lost password.
Parent page: This option is a drop down menu that contains the list of all your blog pages sort alphabetically in ascending order. By default, the first page in the list is selected. This option is used to create the default login pages (registration, lost password and profile) as its children. For example: You have three pages: About, Contact and Sample Page. About is the page selected by default. If you leave the default, the default login pages will be created using these urls:
– Registration page: [blog site address]/about/registration/
– Lost Password page: [blog site address]/about/lostpwd/
– Profile page: [blog site address]/about/profile/
Register: This option allows you to enter the URL of the registration page if you don’t want to use the default registration page.
Lost password: This option allows you to enter the URL of the lost password page if you don’t want to use the default lost password page.
Note: When register and lost password fields are left in blank, the plugin uses its default pages for these actions.
Logged in links
This section contains 1 option: links.
Links: This option allows you to enter the list of links displayed once the user has logged in. The links have to be entered one link per line and the logout link will always be shown.
Tip: Add |true after a link to only show it to admin users or alternatively use a |user_capability and the link will only be shown to users with that capability (see Roles and Capabilities).
You can type %USERNAME% and %%USERID%% which will be replaced by the user’s info. Also, You can type %PROFILE% to get the link for the user profile. Default:
There are two ways to use this plugin:
- Template tag: Add the following code in your template file:
<?php if ( function_exists( 'plogin_form' ) ) plogin_form(); ?>
- Widget: Add the Place Login widget available in Appearance > Widget into one of your sidebars.
To change the styling and template form, these are the steps to follow:
The styling of the login button and modal form can be changed by opening the functions.php file located in your WordPress theme and add this code:
wp_enqueue_style( 'jquery-ui', '[url address of the jquery theme]', false );
Note: Replace [url address of the jquery theme] with the location of a jquery theme that you want to use.
The template forms for the plugin default pages are located in the template directory of this plugin. If you want to modify the design of those templates, copy the template directory in your WordPress theme directory.
This plugin is translated in two languages:
You can support this plugin by translating into another language that it is not listed above. You can contact me, so that I can bundle it into this plugin. The latest POT file can be found at http://plugins.svn.wordpress.org/place-login/trunk/languages/place-login.pot