video-tutorial will help you create static block in magento backend.
And call backend static block to frontend .phtml file.
And call backend static block to frontend .phtml file.
INSTALLATION
<form action="" method="post" enctype="multipart/form-data"> Upload Image:<input type="file" name="image" id="image_id" /> </form>following code used to limit the upload file extension
<script type="text/javascript"> $(function() { $('#image_id').change( function() { var ext = $('#image_id').val().split('.').pop().toLowerCase(); if($.inArray(ext, ['gif','png','jpg','jpeg']) == -1) { $('#image_id').val(""); alert('Please Enter the files in the format jpeg,gif,png'); } }); }); </script>
<script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=YOUR APP ID"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>3.Paste following code in which place you need like button
<div class="fb-like" data-href="http://phpand.blogspot.com/" data-send="true" data-width="450" data-show-faces="true" data-font="arial"></div>4. For more refer https://developers.facebook.com/docs/reference/plugins/like/