Still got bugs
-
You have a stray > on line 1125
<div class="cycle-slideshow" data-cycle-fx="<?php echo $transition; ?>" data-cycle-timeout="<?php echo $timer; ?>" data-cycle-slides="> div.testimonial_slide" <?php if($container): ?> data-cycle-auto-height="<?php echo $container; ?>" <?php endif; ?> <?php if($random): ?> data-cycle-random="true" <?php endif; ?> <?php if($pause_on_hover): ?> data-cycle-pause-on-hover="true" <?php endif; ?> <?php if($paused): ?> data-cycle-paused="true" <?php endif; ?> <?php if($prev_next): ?> data-cycle-prev=".easy-t-<?php echo $target;?> .easy-t-cycle-prev" data-cycle-next=".easy-t-<?php echo $target;?> .easy-t-cycle-next" <?php endif; ?> <?php if($pager || $show_pager_icons ): ?> data-cycle-pager=".easy-t-<?php echo $target;?> .easy-t-cycle-pager" <?php endif; ?> >If you replace it with this it’ll render a lot cleaner and you’ll less likely have typos
<?php $data_cycle_array = array( 'data_cycle_fx' => 'data-cycle-fx="'. $transition .'"', 'data_cycle_timeout' => 'data-cycle-timeout="'. $timer . '"', 'data_cycle_slides' => 'data-cycle-slides="div.testimonial_slide"', 'data_cycle_auto_height' => ( $container ) ? 'data-cycle-auto-height="' . $container .'"' : '', 'data_cycle_random' => ( $random ) ? 'data-cycle-random="true"' : '', 'data_cycle_pause_on_hover' => ( $pause_on_hover ) ? 'data-cycle-pause-on-hover="true"' : '', 'data_cycle_paused' => ( $paused ) ? 'data-cycle-paused="true"' : '', 'data_cycle_prev' => ( $prev_next ) ? 'data-cycle-prev=".easy-t-' . $target .' .easy-t-cycle-prev"' : '', 'data_cycle_pager' => ( $pager || $show_pager_icons ) ? 'data-cycle-pager=".easy-t-'. $target .' .easy-t-cycle-pager"' : '', ); $data_cycle = implode( ' ', $data_cycle_array ); $data_cycle = rtrim( $data_cycle ); ?> <div class="cycle-slideshow" <?php echo $data_cycle; ?>>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Still got bugs’ is closed to new replies.