WordPress.org

Ready to get started?Download WordPress

Forums

oQey Headers
Duplicated random images (1 post)

  1. Robert Novak
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/plugins/oqey-headers/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic