0
我使用bootstrap製作滑塊。TypeError:f [0]在Bootstrap.min.js中未定義發生此錯誤時以及如何解決它?
<section class="customers">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<h2> <?php echo $FC_options['FC_customer_line'];?></h2>
<div id="ReviewCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<?php $loop = get_posts(array('post_type' => 'Testimonials', 'posts_per_page' => -1)); ?>
<?php foreach ($loop as $post) : setup_postdata($post); ?>
<li data-target="#ReviewCarousel" data-slide-to="<?php echo $cur++; ?>" class="active"></li>
<?php endforeach;
wp_reset_postdata();
?>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<?php $loop = get_posts(array('post_type' => 'Testimonials', 'posts_per_page' => -1)); ?>
<?php foreach ($loop as $post) : setup_postdata($post); ?>
<div class="item customer_review">
<p><?php echo $post->post_content;?></p>
<label><?php echo $post->post_title;?></label>
</div>
<?php endforeach; wp_reset_postdata(); ?>
</div>
</div><!-- row -->
</div><!-- Container -->
</section>
我得到錯誤類型錯誤:F [0] undefined.Why這個錯誤發生,以及如何解決它becase的我滑不working.I已經includend bootstrap.min.js。但是,在這裏,滑塊的主代碼並沒有工作。