• Resolved sremy

    (@sremy)


    When I add more than one slide to the slider it just displays the slides on top of each other rather than in a sliding format

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @sremy,

    Thank you for reaching out to us!
    This seems to be a plugin incompatibility as this has never happened before.
    Could you please deactivate all of your plugins except the CPO ones and see if the issue is still there when you add multiple slides?
    If the issue is solved after the plugins are deactivated, then reactivate them one by one until you find the culprit.

    Please let me know how it goes!

    All the best,
    Mihaela

    Hi, this happen to me as well. We didn’t add any new plugins and all of sudden the homepage slider just stopped working and would only show 1 image. This is the code.
    <?php $query = new WP_Query(‘post_type=cpo_slide&posts_per_page=-1&order=ASC&orderby=menu_order’); ?>
    <?php if($query->posts): $slide_count = 0; ?>
    <?php wp_enqueue_script(‘cpotheme_cycle’); ?>
    <div id=”slider” class=”slider”>
    <div class=”slider-slides cycle-slideshow” data-cycle-pause-on-hover=”true” data-cycle-slides=”.slide” data-cycle-prev=”.slider-prev” data-cycle-next=”.slider-next” data-cycle-pager=”.slider-pages” data-cycle-timeout=”8000″ data-cycle-speed=”1000″ data-cycle-fx=”fade”>
    <?php foreach($query->posts as $post): setup_postdata($post); ?>
    <?php $slide_count++; ?>
    <?php $image_url = wp_get_attachment_image_src(get_post_thumbnail_id(get_the_ID()), array(1500, 7000), false, ”); ?>
    <div id=”slide_<?php echo $slide_count; ?>” class=”slide cycle-slide-active” style=”background-image:url(<?php echo $image_url[1]; ?>);”>
    <div class=”slide-body”>
    <div class=”container”>
    <div class=”slide-caption”>
    <div class=”slide-content”>
    <?php the_content(); ?>
    </div>
    <h2 class=”slide-title”>
    <?php the_title(); ?>
    </h2>
    <?php cpotheme_edit(); ?>
    </div>
    </div>
    </div>
    </div>
    <?php endforeach; ?>
    </div>
    <?php if(sizeof($query->posts) > 1): ?>
    <div class=”slider-prev” data-cycle-cmd=”pause”></div>
    <div class=”slider-next” data-cycle-cmd=”pause”></div>
    <?php endif; ?>
    </div>
    <?php endif; ?>

    Is someone going to respond to this topic? Its still not working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slider not sliding’ is closed to new replies.