Google Buisnes — How to insert only one opinion and from one person?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
23 views
Here's a blank:
https://goo.gl/LtZDqe
This template allows you to insert data obtained from the feedback on your website.

Data is obtained in json. Even I dramatically blunt and can't figure out how to display only one particular opinion, for example starting from the name and surname of the person who wrote the opinion.

Tried here so:
$.each(json.result.reviews[author_name="Sergey Kaverin"]
Didn't work (.
by | 23 views

1 Answer

0 like 0 dislike
$.each(json.result.reviews, function(i,v) { if (v.author_name === "Name of Person") { (... the old code method ....) } });
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 29, 2019 by Blackmilk4
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users