Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Local Like And Share

Track liked and shared posts directly on your site.

Local Like And Share is a simple way to allow your readers to like and share your posts, directly on your site.

Merely confirm your settings, activate the portions of the widget to match, and monitor the results - all via the common WordPress online admin menu area (no tinkering with files required :) ).

Included features:

  • Configurable button settings:

    • Select position on post where buttons get displayed
    • Choose individual "call to action" button hover message background and text colors
    • Choose individual count background, outline, and text colors
    • Display abbreviations for large count values?
  • Configurable Like settings:

    • Display like button on post index pages?
    • Display like button on individual post?
    • Choose individual button and button hover colors
    • Set "call to action" button hover message
    • Set "successful like" button hover message
    • Set "already liked" button hover message
  • Configurable Share settings:

    • Display share button on post index pages?
    • Display share button on individual post?
    • Choose individual button and button hover colors
    • Set "call to action" button hover message
    • Share post default email subject and body
  • Configurable widget messages:

    • No likes found
    • No shares found
  • Configurable widget labels/input field placeholders:

    • Show like section?
    • Like title
    • Show share section?
    • Share title
    • Time period
    • Number of posts to show
    • Show like/share counts?
    • Adjustable numbered result margin (to account for theme indentation differences)
  • Admin and editor tools:

    • View statistics (for both likes and shares)
    • Reset all counts (for both likes and shares)
  • Multisite capable


  • No file server configuration required:

    • All color selection and positioning of buttons done via the plugin's settings page
    • All configuration of hover message contents done via the plugin's settings page
  • For Multisite networks, once the plugin is installed in the network's plugin directory, individual site activation and configuration of the plugin can be handled by individual site admins without any access to the file server.

Author Devon Ostendorf
Contributors DevonOstendorf
Tags Like, local, self-hosted, Share, standalone, track like, track share
  1. local-like-and-share screenshot 1

    Activating the plugin

  2. local-like-and-share screenshot 2

    Overriding the default settings with your own custom values

  3. local-like-and-share screenshot 3

    Adding the widget to a sidebar and overriding the defaults with your own custom values

  4. local-like-and-share screenshot 4

    User likes a post

  5. local-like-and-share screenshot 5

    User shares a post

  6. local-like-and-share screenshot 6

    Widget displays likes and shares

  7. local-like-and-share screenshot 7

    View statistics

Download and Install

  1. Go to "Plugins > Add New" in your Dashboard and search for: Local Like And Share
  2. Click the "Install Now" button for the Local Like And Share plugin
  3. See the appropriate section below ("Single Site - Activate and Configure" or "Multisite - Activate and Configure") BEFORE activating


  1. Download local-like-and-share.[version_number].zip from the plugin directory
  2. Extract local-like-and-share.[version_number].zip into a directory on your computer
  3. Upload the local-like-and-share directory to your plugins directory (typically ../wp-content/plugins)
  4. See the appropriate section below ("Single Site - Activate and Configure" or "Multisite - Activate and Configure") BEFORE activating

Single Site - Activate and Configure

  1. Activate the plugin in the Plugins admin menu (Plugins >> Installed Plugins)
  2. Configure options (Settings >> Local Like And Share)
  3. Add and configure widget (Appearance >> Widgets)

Multisite - Activate and Configure

  1. Be sure you ONLY activate it for one or more individual sites - DO NOT "network activate" it (there is not yet a way for plugin authors to disable this option which is why it is even available for this plugin)
  2. Activate the plugin in the Plugins admin menu (Plugins >> Installed Plugins)
  3. Configure options (Settings >> Local Like And Share)
  4. Add and configure widget (Appearance >> Widgets)


Release Date: November 3, 2016

  • FIXED: Fixed postmeta table ORDER BY clause to sort like and share counts as integers


Release Date: September 22, 2016

  • FIXED: Renamed CSS classes to avoid clashes with CSS from other packages
  • CHANGED: Improved performance for public-facing counts by aggregating in post meta data
  • FIXED: Updated custom table create statements to adhere to WordPress 4.6 dbDelta() KEY format
  • NEW: Added option to display abbreviations for large count values


Release Date: May 2, 2016

  • FIXED: Fixed issue with translation check generating errors during core update process


Release Date: March 26, 2016

  • FIXED: Revised translation nag functionality
  • NEW: Added minified JavaScript and CSS files


Release Date: February 28, 2016

  • NEW: Added translation nag functionality based on Clorith's example
  • FIXED: Fixed issue where underlines were rendering beneath both like and share icons in some themes


Release Date: December 15, 2015

  • NEW: Added additional configurable color settings (Settings >> Local Like And Share): "Button hover message background color", "Button hover message text color", "Count background color", "Count outline color", and "Count text color"
  • NEW: Added functionality to reset ALL like counts and/or reset ALL share counts (Local Like And Share >> View Statistics [All-time tab])
  • CHANGED: Modified dynamic HTML throughout the code, sanitizing it with "esc()" functions


Release Date: September 18, 2015

  • Initial release

Why is such a recent version of WordPress listed as the minimum version required?

I strongly believe admins need to keep their sites updated with the current WordPress core. This is particularly important for security reasons but also because it provides admins and their users with new-and-improved functionality. If you cannot (or will not) upgrade, this plugin will probably work fine if you're running WordPress 3.5 or higher. But seriously, you really should upgrade!

How do I get this thing to work?

Follow the steps on the Installation page and then review the Screenshots (which show the plugin "in action" from both the administrator's and a user's perspective). If people have more specific questions, I will update this page accordingly.

Why isn't Local Like And Share translated into my language?

It is because no one who speaks your language has translated this plugin yet. If you'd like to do so, you'll find the current local-like-and-share.pot file in the local-like-and-share/languages directory. Please contact me with any translation files you create - thanks much!

Why build another like and share plugin?

This was a somewhat spontaneous project; I wanted to add an easy-to-set-up way to allow likes and shares without requiring the user to sign into some other service. And lots of people choose not to use Facebook or Twitter. If you do, there are plenty of other plugins available. There are also other existing plugins that provide similar functionality but require you to maintain an account on their server(s) to access statistics. My aim was to provide a simple, self-contained, and locally-hosted tool where your stats stay with you (in the same way that the excellent Piwik does for analytics). All while being independent from and unaffected by the whims of outside organizations that may change things without your knowledge or permission.

How do I reset like or share counts?

Go to the View Statistics page (Local Like And Share >> View Statistics), select the "All-time" tab, and press either the "Reset all like counts" or "Reset all share counts" button. This will reset ALL of your likes or shares (depending on which button you press). You will be presented with an "Undo" link immediately after having pressed a delete button. If you pressed a delete button by accident, or change your mind about deleting your counts, you must click the undo link IMMEDIATELY; your action CANNOT be reversed later.


Special thanks to:

Version 1.0.6

Requires WordPress version: 4.3 or higher

Compatible up to: 4.7.2

Last Updated 06 Dec 2016

Date Added: 19 Sep 2015

Plugin Homepage


5 stars
4 ratings


Not Enough Data

Works: 0
Broken: 0