-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoogle review
More file actions
106 lines (90 loc) · 2.82 KB
/
Google review
File metadata and controls
106 lines (90 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>How to Add or Embed Google Review on your website | Tutorialswebsite.com</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
#map-plug {display:none;}
#google-reviews {
display:flex;
flex-wrap:wrap;
/*display: grid;
grid-template-columns: repeat( auto-fit, minmax(320px, 1fr));*/
}
span.review-profile-image {
float: left;
padding: 0px 15px 0px 0px;
}
span.review-profile-image img {
width: 40px;
}
.modal-backdrop.in{display:none;}
.review-item {
border-bottom: solid 1px rgba(190,190,190,.35);
margin: 5px auto;
display: block;
width: 100%;
padding: 15px 0px;
}
@media ( max-width:1200px) {
.review-item { flex: 1 1 40%; }
}
@media ( max-width:450px) {
.review-item { flex: 1 1 90%; }
}
.review-meta, .review-stars {text-align:left; font-size:115%;}
.review-author { text-transform: capitalize; font-weight:bold; }
.review-date {opacity:.6; display:block;}
.review-text { line-height: 1.55;
text-align: left;
max-width: 72em;
margin: auto;}
.review-stars ul {
display: inline-block;
list-style: none !important;
margin:0; padding:0;
}
.review-stars ul li {
float: left;
list-style: none !important;
margin-right: 1px;
line-height:1;
}
.review-stars ul li i {
color: #E4B248;
font-size: 1.4em;
font-style:normal;
}
.review-stars ul li i.inactive { color: #c6c6c6;}
.star:after { content: "\2605"; }
</style>
</head>
<body>
<div class="container">
<!-----------------google review-------->
<div class="col-md-12 service-package" style="text-align: center;">
<h4 class="f-primary-b b-h4-special f-h4-special" style="margin: 10px 0 35px 0;"><span class="service-package-title">Our Recent Google Review</span></h4>
<div id="google-reviews"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://tutorialswebsite.com/cdn/google_places.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=AIzaSyDRERbmhKNYw45rS88_NY_UYztPXIhA3Iw&signed_in=true&libraries=places"></script>
<script>
jQuery(document).ready(function( $ ) {
$("#google-reviews").googlePlaces({
placeId: 'ChIJR6V8zhCaaS4RpZwezBe9LVg' //Find placeID @: https://developers.google.com/places/place-id
, render: ['reviews']
, min_rating:4
, max_rows:5
,rotateTime: false
, shorten_names: true
});
});
</script>
<a class="btn btn-success" style="margin:20px auto;" href="https://g.page/encep"_blank" rel="noopener noreferrer">See All Our Google Reviews</a>
</div>
<!-----------------end review------------->
</div>
</body>
</html>