ID, "ta_post_review_rating", TRUE) == null) { return $content;} else { // Get the author name // @since 0.0.9.8 $author_id = $post->post_author; $user_info = get_userdata( $author_id ); $review_author = $user_info->first_name . ' ' . $user_info->last_name; $rating = $custom["ta_post_review_rating"][0]; $fb_rating = $rating; //$rating = $rating[0]; // commented this to enable half stars since 0.0.9.1 if(!empty($fb_rating)) { $fb_rating_star = $fb_rating * 20; // set options $box_width = $options['wpar_box_width']; // set rating box width if ($options['wpar_box_width'] != '') {$rating_box_width = $options['wpar_box_width'];} else {$rating_box_width = '300';} // set button color if ($options['wpar_drp_button_color'] != '') {$rating_box_btn_color = $options['wpar_drp_button_color'];} else {$rating_box_btn_color = 'orange';} // set rating box alignment if ($options['wpar_drp_box_align'] != '') { if ($options['wpar_drp_box_align'] == 'right') { $ta_box_align_class = "ta_box_right"; } if ($options['wpar_drp_box_align'] == 'left') { $ta_box_align_class = "ta_box_left"; } if ($options['wpar_drp_box_align'] == 'none') { $ta_box_align_class = "ta_box_align_none"; } } else { $ta_box_align_class = "ta_box_right"; // set to right as default } //----------------------------------------------------- // let's get the thing // @since 1.0.1.3 //----------------------------------------------------- $ar_thing_name = get_post_meta($post->ID, 'ta_post_review_name', TRUE); $ar_thing = '