Testimonals from Google

By | February 1, 2018| 0 Comments

”){ for($j=0;$j<$qft;$j++){ //LIST OF PARAMETERS YOU NEED TO PRINT IN YOUR HTML $a1['result']['reviews'][$j]['profile_photo_url']; //For Reviewers Image $a1['result']['reviews'][$j]['author_name']; //For Reviewers Name $a1['result']['reviews'][$j]['relative_time_description'] ; //For Review Relative Timmings $a1['result']['reviews'][$j]['rating']; //For Rating Given by Reviewer $a1['result']['reviews'][$j]['text']; //For Review Text $ratingHTML = ''; for ($x = 1; $x <= 5; $x++) { if($a1['result']['reviews'][$j]['rating'] >= $x){ $ratingHTML .= ‘‘; } else { $ratingHTML .= ‘‘; } } echo ‘

‘.$a1[‘result’][‘reviews’][$j][‘text’].’

‘.$ratingHTML.’
Review left ‘.$a1[‘result’][‘reviews’][$j][‘relative_time_description’].’


‘; } } ?>

Leave a Comment

Activation Europe use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

These cookies are necessary for the website to function and cannot be switched off.

In order to use this website we use the following technically required cookies
  • wordpress_test_cookie
  • wordpress_logged_in_
  • wordpress_sec
  • cookies.js

Decline all Services
Accept all Services