Hi
for this find below code in index-testimonial.php (Theme package >> testimonial.php) file line no 13,14
<?php } if( $current_options['testimonial_tagline'] !='') { ?>
<p><?php echo $current_options['testimonial_tagline'];?></p>
and replace with below code
<?php } if( $current_options['testimonials_text'] !='') { ?>
<p><?php echo $current_options['testimonials_text'];?></p>
then save and check your website.
Thanks.
Hello Imran,
I am grateful for your fast response. I edited the file and now it looks like this:
<!-- Testimonial -->
<div class="col-md-6 testimonial">
<!-- Section Title -->
<div class="section-title-small">
<?php if( $current_options['testimonials_title'] != '' ) { ?>
<h3 class="section-heading"><?php echo $current_options['testimonials_title'];?></h3>
<?php } if( $current_options['testimonials_text'] !='') { ?>
<p><?php echo $current_options['testimonial_text'];?></p>
<?php } ?>
</div>
<!-- /Section Title -->
The line has gone, however via In Customizer -> Home Page Sections Settings -> Testimonial Settings I am not able to add a line of my own text.
Do I have an error in the code which I am overlooking ?
HI
This working fine,
Please Fill “Testimonial Description” in customizer setting then save & publish.
And yet you are unable to make use of then replace given below file URL with index-testimonial.php
http://pastebin.com/sL5k7Qcy
Any confusion let me know
Thanks.
Thank you. I have resolved it. However, I want to give feedback to improve this awesome theme.
1. I tried your pastebin file, but if I used it the sections became very narrow so the original layout got altered badly.
2. Now I re-uploaded the original file and altered the coded as suggested by your first reply. That worked. So probably I made a mistake but since I cannot find it I shall post the code here for others who might experience the same:
<!-- Section Title -->
<div class="section-title-small">
<?php if( $current_options['testimonials_title'] != '' ) { ?>
<h3 class="section-heading"><?php echo $current_options['testimonials_title'];?></h3>
<?php } if( $current_options['testimonials_text'] !='') { ?>
<p><?php echo $current_options['testimonials_text'];?></p>
<?php } ?>
</div>
<!-- /Section Title -->
Ah, found it….
testimonial_text shoud be testimonialS_text