} if (($do_company || $do_url && !$done_url) && $cite) { $cite .= Testimonials_Widget::get_template_part('span', 'join-company'); } if ($do_company && $do_url) { $cite .= Testimonials_Widget::get_template_part('span', 'company-url'); } elseif ($do_company) { $cite .= Testimonials_Widget::get_template_part('span', 'company'); } elseif ($do_url && !$done_url) { $cite .= Testimonials_Widget::get_template_part('span', 'url'); } if ($do_location && $cite) { $cite .= Testimonials_Widget::get_template_part('span', 'join-location'); } if ($do_location) { $cite .= Testimonials_Widget::get_template_part('span', 'location'); } if (!empty($cite)) { $cite = preg_replace("#\r|\n#", '', $cite); } $cite = apply_filters('tw_cite_html', $cite, $testimonial, $atts); if (empty($cite)) { return; } if (!$use_quote_tag) { ?> <div class="credit"><?php echo $cite; ?> </div> <?php