Configuration Wizard
Social buttons may not work properly locally, please make sure that you uploaded the archive you got from CodeCanyon and run the configuration wizard on your website.

1. Include jQuery and the plugin files in to your page

Upload files from the folder Plugin on your website and add the code below before the tag </head> on the page where you wish put the locker. If you aready use jQuery on your website, you can skip the first line.

2. Generate And Paste Locker Code

Then paste the locker code (after the code above and before the tag </head>). Don't forget to apply the CSS selector you set (by default, the CSS class 'to-lock') to content you wish to lock.
Generate Locker Code To Paste
OnePress (c) 2018. Learn more about Social Locker for jQuery.
X

Copy the code and paste it into your page:




Social Buttons
  • Warning: if you get any errors when enabling or using the Facebook Share button, make sure that you registered a Facebook App for your website correctly.

  • Warning: The Google +1 button started working as the Google Share button since 15 June 2017.

  • Warning: The Google Share button requires a Google Client ID. Please register it before using the button.

  • Warning: due to Twitter API limits, the locked content may be accessible for visitors who close the Tweet dialog without sharing.

  • Warning: due to the technical bug on the LinkedIn side, the locked content may be accessible for visitors who close the share dialog without actual sharing.

  • Warning: if you get any errors when enabling or using the YouTube button, make sure that you registered a Google App for your website correctly.


Docs
More Options
Creating Facebook App
Getting Google Client ID
Using Events
Using Ajax
Troubleshooting