Skip to main content

Posts

Showing posts with the label Blogger

Chèn thẻ CODE vào blogger

Chèn đọan code sau vào thẻ mã html ( ở phần chỉnh mẫu ) Trứoc thẻ đóng của <!-- the code --> <link href="https://sites.google.com/site/tessssssssblog/likeblog.css" rel="stylesheet" type="text/css"></link> <link href="http://steamdev.com/snippet/css/jquery.snippet.min.css" rel="stylesheet" type="text/css"></link> <script src="http://steamdev.com/snippet/js/jquery.snippet.min.js" type="text/javascript"> <!-- end the code --> Chèn đọan code sau vào truớc thẻ đóng của body  (</body>) <!-- the code -->     <script type='text/javascript'>       $(document).ready(function(){         $(&quot;pre.java&quot;).snippet(&quot;java&quot;);         $(&#39;pre.c&#39;).snippet(&#39;c&#39;);         $(&#39;pre.cpp&#39;).snippet(&#39;cpp&#39;);         $(&#39;pre.csharp&#39;).snippet(&am

Hướng dẫn quản lý comment facebook trên Blogspot

Hướng dẫn quản lý comment facebook trên Blogspot Các bạn truy cập đường dẫn sau: https://developers.facebook.com/apps Điền thông tin của bạn vào như hình dưới Bấm tạo ứng dụng Chúng ta sẽ được dẫn đến 1 trang quản trị ứng dụng của chúng ta Các bạn chú ý  App ID  mỗi người sẽ có 1 con số khác nhau Bước 1:   Chèn code sau trước thẻ  </head>   <meta content='App ID' property='fb:app_id'/>   Chú ý: App ID là mã ứng dụng (id App face mà bạn vừa tạo ở bước trên) bạn thay nó thành mã App ID của bạn nhé Bước 2: chèn tiếp bên trên thẻ đóng  </head>   <script type='text/javascript'> //<![CDATA[ var purl= location.href; var fb_href = purl.substring(0,purl.indexOf(".html")+5); var fbcm ='<div class="fb-comments" data-href="'+fb_href+'" data-num-posts="5" data-width="540"></div>'; //]]> </script> Bước 3 - Thêm đoạn mã bên dưới vào trước thẻ  </body> .