GP social login

By renemanqueros

0+ active installationsVersion 1.0

Allows users to log in to Wordpress using Google+ or Facebook.

Description

Allows users to log in to WordPress using Google+ or Facebook.
Adds a configuration panel under Settings where users can set API keys.
Upon successful login, depending on the service, users will be redirected to either:

— www.mywebsite.com/facebookcallback/
— www.mywebsite.com/googlecallback/

  • Trailing slash is mandatory.
    After that the user will be sent to the destination url set in the Settings panel.

Theming

Both links have a common CSS class: “gp_sociallogin”.
Google’s login link has a specific class: “google”.
Facebook’s login link has a specific class: “facebook”.

Installation

  1. Upload the contents of the zip file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

This plug-in exposes two shortcodes:

[gp_social_google]
[gp_social_facebook]

Both can be called with just the shortcode or by using a message parameter, which will be the text displayed in the link, e.g.:

[gp_social_google message="Click here to login"]