[Plugin: oQey Headers] Duplicated random images
-
Hi there,
I love this plugin but I have some problem with duplicated images.
I place oQey as a background images in my slider Featured post like this:
<ul> <?php $featured_posts = get_featured_posts(array('method' => 'the_loop')); while (have_posts()) : the_post(); if (!in_array($post->ID, $ids)); ?> <li id="<?php the_ID(); ?>" style="background:url(<?php randomHeader(); ?>) no-repeat;"> <?php the_excerpt(); ?> </li> <?php endwhile; ?> <?php wp_reset_query(); ?> </ul>So, I would like to have for every LI to have deferent random image in background as long there is a less LI sliders then oQey images but the problem is that on every refresh page there is a several duplicated entries.
Is there any way to solve that problem?
Try to refresh a couple time and slide the big images – http://www.ng-prom.hr/
Thanks a lot
The topic ‘[Plugin: oQey Headers] Duplicated random images’ is closed to new replies.