Changeset 1806040
- Timestamp:
- 01/19/2018 10:29:05 PM (8 years ago)
- Location:
- ultimate-facebook-reviews/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
admin/class-ultimate-facebook-reviews-admin.php (modified) (1 diff)
-
includes/class-ultimate-facebook-reviews.php (modified) (1 diff)
-
public/class-ultimate-facebook-reviews-public.php (modified) (5 diffs)
-
ultimate-facebook-reviews.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-facebook-reviews/trunk/README.txt
r1806014 r1806040 53 53 == Changelog == 54 54 55 = 2.1 = 56 * Added schema.org markup to the reviews 57 58 55 59 = 2.0 = 56 60 * Fixed the login problem. -
ultimate-facebook-reviews/trunk/admin/class-ultimate-facebook-reviews-admin.php
r1806014 r1806040 138 138 <div class="col-md-8"> 139 139 <h3>Ultimate Facebook Reviews</h3> 140 <h5>Version 1.0</h5>140 <h5>Version <?php echo $this->version; ?></h5> 141 141 <?php $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'access-token'; ?> 142 142 <ul class="nav nav-tabs" role="tablist"> -
ultimate-facebook-reviews/trunk/includes/class-ultimate-facebook-reviews.php
r1767612 r1806040 68 68 */ 69 69 public function __construct() { 70 if ( defined( ' PLUGIN_VERSION' ) ) {71 $this->version = PLUGIN_VERSION;70 if ( defined( 'UFR_PLUGIN_VERSION' ) ) { 71 $this->version = UFR_PLUGIN_VERSION; 72 72 } else { 73 73 $this->version = '1.0.0'; -
ultimate-facebook-reviews/trunk/public/class-ultimate-facebook-reviews-public.php
r1806014 r1806040 230 230 if(is_array($reviews) && !empty($reviews)){ 231 231 foreach($reviews as $review){ 232 $output .= '<div class="ufr-review ufr-col-md-'.intval($atts['columns']).'">';232 $output .= '<div itemprop="review" itemscope itemtype="http://schema.org/Review" class="ufr-review ufr-col-md-'.intval($atts['columns']).'">'; 233 233 $output .= $this->fb_style2($review,$atts); 234 234 $output .= "</div>"; … … 255 255 if(is_array($reviews) && !empty($reviews)){ 256 256 foreach($reviews as $review){ 257 $output .= '<div class="ufr-review ufr-col-md-12">';257 $output .= '<div itemprop="review" itemscope itemtype="http://schema.org/Review" class="ufr-review ufr-col-md-12">'; 258 258 $output .= $this->fb_style2($review,$atts); 259 259 $output .= "</div>"; … … 275 275 if(is_array($reviews) && !empty($reviews)){ 276 276 foreach($reviews as $review){ 277 $output .= '<div class="ufr-review ufr-col-md-'.intval($atts['columns']).'">';277 $output .= '<div itemprop="review" itemscope itemtype="http://schema.org/Review" class="ufr-review ufr-col-md-'.intval($atts['columns']).'">'; 278 278 $output .= $this->fb_style2($review,$atts); 279 279 $output .= "</div>"; … … 300 300 if(is_array($reviews) && !empty($reviews)){ 301 301 foreach($reviews as $review){ 302 $output .= '<div class="ufr-review ufr-col-md-12">';302 $output .= '<div itemprop="review" itemscope itemtype="http://schema.org/Review" class="ufr-review ufr-col-md-12">'; 303 303 $output .= $this->fb_style2($review,$atts); 304 304 $output .= "</div>"; … … 315 315 private function fb_style2($review,$atts){ 316 316 $output ='<div class="ufr-style2">'; 317 $output .= '<div class="star-rating">'.$this->fb_html_stars($review['rating']).'</div>'; 317 318 $output .= '<span style="display:none;" itemprop="itemReviewed">'.get_bloginfo('name').'</span>'; 319 320 $output .= '<div class="star-rating" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"><span style="display:none;" itemprop="ratingValue">'.$review['rating'].'</span>'.$this->fb_html_stars($review['rating']).'</div>'; 321 318 322 if(array_key_exists('review_text',$review)){ 319 $output .= '<p >'.$review['review_text'].'</p>';320 } 321 $output .='<i class="fa fa-quote-left quote" aria-hidden="true"></i>322 <strong >'.$review['reviewer']['name'].'</strong>323 $output .= '<p itemprop="description">'.$review['review_text'].'</p>'; 324 } 325 $output .='<i itemscope itemtype="http://schema.org/Person" class="fa fa-quote-left quote" aria-hidden="true"></i> 326 <strong itemprop="author">'.$review['reviewer']['name'].'</strong> 323 327 '; 324 328 $output .= '</div>'; -
ultimate-facebook-reviews/trunk/ultimate-facebook-reviews.php
r1806014 r1806040 10 10 * 11 11 * @link omark.me 12 * @since 2. 012 * @since 2.1 13 13 * @package Ultimate_Facebook_Reviews 14 14 * … … 17 17 * Plugin URI: ultimate-facebook-reviews 18 18 * Description: Dispaly your Facebook pages Reviews in a beautiful way with a lot of options to customize the reviews as you like, in a slider facebook reviews or a regular facebook reviews, create unlimited shortcodes, widgets and wp rest api urls. 19 * Version: 2. 019 * Version: 2.1 20 20 * Author: Omar Kasem,OmarK.me 21 21 * Author URI: http://www.omark.me … … 31 31 } 32 32 33 33 define('UFR_PLUGIN_VERSION','2.1'); 34 34 /** 35 35 * The code that runs during plugin activation.
Note: See TracChangeset
for help on using the changeset viewer.