Viewing 1 reply thread
You must be logged in to reply to this topic.
Hello,
Could you please tell me where I may find the file that sets up the testimonial layout? In particular I would like to allow a position and company by allowing a <br> to be accepted in the staff position field. Any thoughts on how this can be done?
Hello,
The responsible files for testimonials are vc_templates/testimonial_carousel.php and vc_templates/testimonial_cycle.php.
To add the break tag, go to the first file and find this line:
$output .= '<h6>'.esc_html(get_the_title()).', </h6><span class="position"> '.esc_attr($cl_redata['staff_position']).'</span>';
Replace with this:
$output .= '<h6>'.esc_html(get_the_title()).', </h6></br><span class="position"> '.esc_attr($cl_redata['staff_position']).'</span>';
Let us know.
Best regards!
You must be logged in to reply to this topic.