User Tools

Site Tools


wordpress:fbcomments

Nuovo codice commenti Fb

<!-- Hack: Facebook Comments Gioxx 01.03.2013 -->
	<div id="comments">
	<h2 class="title" style="padding-bottom: 8px;">I commenti da Facebook</h2>
		<div id="fb-root"></div>
		<script src="http://connect.facebook.net/it_IT/all.js#xfbml=1"></script>
		<fb:comments href="<?php echo get_permalink($post->ID); ?>" num_posts="30" width="570" migrated=1></fb:comments>
	</div>
	<!-- eof modifica -->

Codice originale

<!-- Hack: Facebook Comments Gioxx 02/02/2012 -->
	<div id="comments">
	<h2 class="title" style="padding-bottom: 8px;">I commenti da Facebook</h2>
		<div id="fb-root"></div>
		<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/it_IT/all.js#xfbml=1&appId=255184987842012";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));</script>
		<div class="fb-comments" data-href="<?php echo get_permalink($post->ID); ?>" data-num-posts="75" data-width="570"></div>
	</div>
	<!-- eof modifica -->
wordpress/fbcomments.txt · Last modified: 2013/03/01 19:23 by Giovanni