Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Testimonial Speed and comma – I´ve already followed instructions of forum

    • 10 years ago mmmalmeida
      Participant

      Hello,

      I have two problems to fix in testimonials carousel at home. The first one is the speed, the second one is the comma after names. I have already followed instructions found in this forum but they did not work in both problems.
      1- SPEED – I have already tried to do this:

      Find the lines:

      function testimonialsCarousel(){"use strict";
      $('.testimonial_carousel').each(function(){
      var $self = $(this);
      $(this).carouFredSel({
      auto: true,
      scroll: { items : 1, fx: 'fade' },
      prev : {
      button : $self.parent('.testimonial_carousel_element').find('.prev')
      },
      and replace them with:
      function testimonialsCarousel(){
      "use strict";
      $('.testimonial_carousel').each(function(){
      var $self = $(this);
      $(this).carouFredSel({
      auto: true,
      scroll: { items : 1, fx: 'fade', duration:200 },//add here the duration of a testimon.
      prev : {
      button : $self.parent('.testimonial_carousel_element').find('.prev')
      },

      2- COMMA AFTER NAMES - I have already tried this:

      To remove the coma, please go to file vc_templates\testimonial_carousel.php and find this line:$output .= '<h6>'.esc_html(get_the_title()).', </h6><span class="position"> '.esc_attr($cl_redata['staff_position']).'</span>';<br />
      Replace with this:</span><br/>$output .= '<h6>'.esc_html(get_the_title()).' </h6><span class="position"> '.esc_attr($cl_redata['staff_position']).'</span>';

      Can you help me to fix these please?

      Best regards,

      Michele Medeiros

      • This topic was modified 10 years ago by Mirela. Reason: html tags
      • This topic was modified 10 years ago by Mirela.
    • 10 years ago Mirela
      Participant

      Hello,

      You must have copied them wrong. Even a comma left behind causes the code to fail. Please send us your wp credentails in a private reply so we can check these up for you.

      PS: In later replies please see this article on how to prevent the html tags from messing up the text.

      Best regards!

    • 10 years ago mmmalmeida
      Participant
      This reply has been marked as private.
    • 10 years ago Mirela
      Participant

      hello,

      The edits in the example are made to testimonials carousel, while you have the testimonial cycle. Please find this function: $('.testimonial_cycle').each(function(){ in file js\main.js and make the same changes as the example above. (add attribute duration:200).
      I can not access main.js file from wordpress so i can’t do it for you. But i could remove the comma, by editing file testimonials_cycle.php like explained above.

      Best regards!

    • 10 years ago mmmalmeida
      Participant

      Hello! I have tried what toy said but it did not word yet. Please can you check if there is someting wrrrong in the code below? :-(

      —————————- Testimonial Cycle —————————– */

      function testimonialsCycle(){
      “use strict”;

      $(‘.testimonial_cycle’).each(function(){
      var $self = $(this);
      var container_width = $self.parents(‘.wpb_wrapper’).first().width();
      $(‘.item’, $self).width(container_width+’px’);

      $self.carouFredSel({

      auto: true,
      scroll: { items : 1, fx: ‘fade’, duration:200 },,//add here the duration of a testimon.
      prev : {
      button : $self.parent(‘.testimonial_carousel_element’).find(‘.prev’)

      });

      });
      }

    • 10 years ago Mirela
      Participant

      Hello,

      Please try to remove the comment, this->’ ,,//add here the duration of a testimon.’ the commas may be messing the code. If the issue persists, send us your ftp credentials in a private reply, so i can do it for you.

      Best regards!

    • 10 years ago mmmalmeida
      Participant
      This reply has been marked as private.
    • 10 years ago Mirela
      Participant

      Hello,

      You have mistakes in your main.js file. The testimonial carousel function was not complete. I edited it and the testimonials cycle function, however that mus be something else since the testimonial in web page still doesn’t work. did you made any other changes to this file? Please replace it with an original copy from your downloaded theme folder. Then find this code:

      function testimonialsCycle(){
      	"use strict";
      
      	$('.testimonial_cycle').each(function(){
      		var $self = $(this);
      		var container_width = $self.parents('.wpb_wrapper').first().width();
      		$('.item', $self).width(container_width+'px');
      
      		$self.carouFredSel({
      						
      			auto: true,
      			scroll: { items : 1, fx: 'fade' },
      
      		});
      
      	});
      }
      

      and replace with this:

      function testimonialsCycle(){
      	"use strict";
      
      	$('.testimonial_cycle').each(function(){
      		var $self = $(this);
      		var container_width = $self.parents('.wpb_wrapper').first().width();
      		$('.item', $self).width(container_width+'px');
      
      		$self.carouFredSel({
      						
      			auto: true,
      			scroll: { items : 1, fx: 'fade' , duration:2000 },
      
      		});
      
      	});
      }
      

      Let us know.

      Best regards!

    • 10 years ago mmmalmeida
      Participant

      Hello. I had not changed other codes, but I follow your instructions and it did not work yet.

      Best regards,

      Michele

    • 10 years ago Mirela
      Participant

      Hello,

      You still have errors in your site. The testimonials are not displayed properly. They are supposed to slide(either fast or slow), you have them showed in a column. Please update theme to it’s latest version. We strongly recommend you to keep a backup of all files before performing an update.
      Let us know.

      Best regards!

    • 10 years ago mmmalmeida
      Participant

      Ok, I´ll do that. Where can I update to theme´s latest version?

      Best regards,

       

    • 10 years ago mmmalmeida
      Participant

      Hello. I just have updated the theme and followed your instructions, but the speed of testimonial cycle has not changed and now the comma after the names is back (I have followed the instructions above to delete comma but it did not work either).

       

      Best regards,

       

      Michele

    • 10 years ago mmmalmeida
      Participant

      Please Codeless team, I really need your help. My deadline to finish the site is ending and I still have several things to fix. :-(

    • 10 years ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      I see you have vc_template\testimonials_cycle.php and removed the comma after the name. I see you have already added the duration time.
      Let us know if you need further help.

      Best regards!

    • 10 years ago mmmalmeida
      Participant

      Yes, I did it but the speed of testimonial cycle is still very fast, it is not possible read each one of the testimonials. What Can I do?

    • 10 years ago mmmalmeida
      Participant

      Actually, the speed is still the same, it did not change with the new code…:-(

    • 10 years ago Mirela
      Participant

      Hello,

      You only need to change the value of the duration. I already changed it to 20000 and now it’s very slow. Change it back to the value you want.

      Best regards!

    • 10 years ago mmmalmeida
      Participant

      Hello! The speed is ok on mobile phone but it is still the same (very fast) on computers (I tested in 3 different computers). Do you know what can be happening?

       

      Best regards,

       

      Michele

    • 9 years, 12 months ago mmmalmeida
      Participant

      Hi Codeless Team, I am waiting for your reply. Thanks in advance.

Viewing 18 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password