Manually Set and Override the URL for the Facebook Like Button

1/19/2015 9:03:32 PM

The Facebook like button will be default use the current url of the page it is on. To override this value, set the data-href value. This can be very useful if part of your url changes. 

<div class="fb-like" data-href="" data-send="false" data-layout="button_count" data-width="120" data-show-faces="false">&nbsp;</div>