Documentation

Front-end Membership Modules

Home / Social Media Connect Shortcode

Social Media Connect Shortcode

This plugin comes with inbuilt functionality of Social Media Login and it works very well with custom registration fields. With this option, your website users can register and login via Social Media Services like Facebook, Twitter, Google and LinkedIn.

To read more about configuration and how it works please visit this page.

Once you configure the Social Media Login credentials under CSSJockey >> Membership Modules >> Configuration >> Social Media Login, You can use the following shortcode to display buttons on any page, post or sidebar widget to allow users to create their accounts and login via their chosen social media service.

Shortcode Parameters:

service
You can choose a social media service from this dropdown menu.
(Default: Facebook)
Available Options:
Facebook : Users can create their account and login via Facebook.
Twitter : Users can create their account and login via Twitter.
Google : Users can create their account and login via Google.
LinkedIn : Users can create their account and login via LinkedIn.

button_icon
You can choose to enable or disable the service icon for the button.
(Default: Yes)

button_text
You can specify custom text for the button.
(Default: Connect via Facebook)

button_class
You can specify custom CSS classes for this button.
(Default: cjfm-button cjfm-button-facebook)

Using Shortcode Generator

You can use our Shortcode Generator to easily specify parameters and insert this shortcode on any page while editing a page or post.

shortcode-generator-social-media

 

Display social media connect buttons in template files

If you are a developer or creating your own WordPress theme, you can call this shortcode via following PHP code: