It conflict with flexslider
-
Hi,
I use this script to show the slides (using flexslider) in home.php :<div id=”container”>
<div class=”slide-top”>
<div class=”flexslider”>
<ul class=”slides”>
<?php
$sticky = get_option(‘sticky_posts’);
rsort($sticky);
$sticky = array_slice($sticky, 0, 6);
$recent = new WP_Query(array(‘post__in’ => $sticky, ‘caller_get_posts’ => 1) );
while ($recent->have_posts()) : $recent->the_post();
$image = vt_resize(get_post_thumbnail_id($post->ID), ”, 685, 350, true);
?>-
“><img src=”<?php echo $image[url];?>” width=”685″ height=”350″/>
<div class=”captions”><h2>“> <?php the_title(); ?></h2> </div>
<?php endwhile;
//wp_reset_query();
?></div>
</div>It shows slides normal if i don’t active “wp copy content pro”. But if i active the plug in, the images in slides is disappeared!
My website is https://luxevn.comhttps://www.ads-software.com/plugins/wp-content-copy-protection/
-
“><img src=”<?php echo $image[url];?>” width=”685″ height=”350″/>
- The topic ‘It conflict with flexslider’ is closed to new replies.