Likes Counter gets Facebook Likes of any page you want and stores the returning value database so it doesn't bubble requests to Facebook API..
After the duration expires, it will make new request and update the Likes value, again for the duration set...
Easy to style span tags with css classes likes-counter and likes-counter-separator...
I made this plugin to be as light as possible, so I ended up making shortcode that gives the user the functionality to build Facebook Likes Counter..
SHORTCODE IN POST PAGE.. — Gets 842488 likes from WordPress Facebook page, — Caches the value for 30 minutes, — Offsets likes count by 10 842478, — Adds thousand dot separator 842.478, — Adds span tag around each character..
If you need to use inside Theme Template file, use do shortcode..
Attributes page facebook page name or id in minutes to cache database before making new request. offset subtracts from Likes value and returns the rest.
It can be used to reset likes count for Likes goal in marketing campaigns. separator type.
Short separator, shortens thousand to K, million to M and billion to B. tag span tag around each character for css styling number character for number characters and separator character for separators characters...
Page id misspelled or doesn't exist, Couldn't connect to Facebook Graph API or Timeout.
Read more