The home page Portfolio Carousel repeat 2 images of 3

I want to prevent the carousel from repeating the images it shows, in the same series of 3, can you help me?


  • Hi @darkangel27dm

    Kindly create child theme via Child Theme Configurator plugin:


    via Orbisius Child Theme Creator plugin:

    Let me know after the child theme created


  • Theme child created

  • After child theme created, follow the steps below carefully:-

    1) Go into your new child theme directory.

    2) Edit function.php file, then copy the below code and paste it at the end of the file code.

    function owl_carousel_script_fix() {
        wp_enqueue_style('child-appointment-owl-carousel-stylesheet', get_stylesheet_directory_uri() . '/owl.carousel.min.css');
        wp_enqueue_script('child-appointment-owl-carousel-js', get_stylesheet_directory_uri() . '/owl.carousel.js', array('jquery'));

    add_action('wp_enqueue_scripts', 'owl_carousel_script_fix', 999);

    3) Create new file with index-portfolio.php name. Edit the file and paste the code from the link:

    4) Create another new file with owl.carousel.min.css name. Edit the file and paste the code from the link:

    5) Similarly, create new file with owl.carousel.js name. Edit the file and paste the code from the link:

    6) Save changes and activate your child theme.

    Let me know whether it works for you

  • Thank you so much, in the future you'll can itroduce this upgrade on the theme

    Merry christmas and happy new year, from Italy :)

  • Thanks, Merry Christmas and Happy new year to you, too! 

    If any issue later, feel free to ask again!

    We would really appreciate if you could provide us a kind review here:

This discussion has been closed.