Custom Facebook Fan Gate Plugin for Wordpress

Custom Facebook Fan Gate Plugin for Wordpress

Facebook Custom Fan Gate for Wordpress is a plugin that adds an overlay pop up over the home page and the posts of your Wordpress blog. The user has to like a specified url to close the layer or click the close button. It’s also called “like gate”.

This plugin speed up building your fan base. Having a big number of fans means that posting contents on your page will increase the traffic to your site.

It differs from other similar plugins because:
  1. you can use a custom image to completely personalize the pop up style (no borders, no fixed dimensions, no titles!).
  2. this is the only plugin that comes with stats and historical data and makes a simple chart with the numbers of likes gained
  3. you can put the shortcode in some pages to open the fan gate only on some pages!


Here are all the features described in this documentation:
  • it comes with ready to use presets to go live now!
  • you can use a specified image as pop up
  • you can decide if add fan gate to post, or pages or manually to only some pages
  • you can decide where to place the Facebook like and the Close button with drag and drop
  • choose between different Facebook button style (standard, button, button count, box count)
  • optionally shows faces of already fans
  • optionally removes close button (like becomes mandatory)
  • optionally avoid pop up on mobiles (annoying!)
  • you can customize close button colors
  • you can customize the overlay color and the opacity
  • it adds a cookie when a user likes, to remember it
  • it adds a cookie when a user close the pup up and it shows the pop up back after some days/week/month/monthes
  • you can test how the layer appears
  • it shows likes gained per day and other stats
  • it hows likes over a period
  • it shows cumulative likes line chart
  • it shows daily likes line chart
  • if you use Facebook connect on your site, it can check if user has already liked your page… but this feature isn’t tested, so I don’t know if it works! :-)

Charts and stats

Version History

v.1 first release, 2/1/2014
v.1.1. bug fixes, 2/8/2014
v.1.2. fixed jquery bug and added delay
v.1.21. fixed problem on UTC time
v.1.22 fixed X close button problem 06/19/2014
v.1.23 support for Facebook API v.2.0
v.1.25 better load javscript to handle problems with some users 04/27/2015
v.1.26 Last update: fix bug can't close pop up, fix count remove like and add again 02/09/2015
v.1.27 dynamic loading FB script, better CSS 09/14/2015
v.1.28 solved a problem with not rendering buttons and close button 09/22/2015
v.1.30 minor bugs, shortcode to manually open the fan gate only on some pages 09/24/2015
v.1.31 css conflict that prevent like button visibility 05/19/2016
v. 1.32 now you need to add Facebook App Secret to retrieve the Facebook page counter, new field in options 11/08/2016
v. 1.33 bug fix 11/09/2016
v. 1.5 Better user interface, added test button, added overlay parameters, color pickers, page/posts targetting, minor fixes, 01/09/2017
v. 1.51 bug fixing cookie period, 01/12/2017
v. 1.52 bug fixing timer waits wrong number of seconds, 01/12/2017
v. 1.53 modified for javascript in footer, 04/15/2017
v. 1.54 removed app secret, 04/18/2017