ralden15
9/27/2018 - 8:42 PM

ralden-google-reviews-wp-header

Parte do código para inserir no Header para ter Google Reviews em sites e WordPress

<link rel="stylesheet" href="https://cdn.rawgit.com/stevenmonson/googleReviews/master/google-places.css">
<script src="https://cdn.rawgit.com/stevenmonson/googleReviews/6e8f0d79/google-places.js"></script>
//Cole sua Chave API do Google no local indicado
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=COLE-SUA-CHAVE-API-AQUI&signed_in=true&libraries=places"></script>

<script>
jQuery(document).ready(function( $ ) {
   $("#google-reviews").googlePlaces({
        placeId: 'COLE-SEU-PLACEID-AQUI'
        //Encontre seu placeID em: https://developers.google.com/places/place-id, e cole no local indicado
      , render: ['reviews']
      , min_rating: 4
      , max_rows:4
   });
});
</script>