Jump to content

Compartir y me gusta en pagina CMS


Recommended Posts

Quiero poner los botones de Compartir y me gusta de FB en el CMS de prestashop:

En fb Developers me dice que ponga este codigo:

 

1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.

<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/es_ES/sdk.js#xfbml=1&version=v2.4";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

 

2. Place the code for your plugin wherever you want the plugin to appear on your page.
<div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="box_count"></div>
 
Pero, realmente en que archivos tengo que poner esos codigos??
 
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...