WordPress.org

Support

Support » Plugins and Hacks » oik-nivo-slider » Slider not working on archive

Slider not working on archive

  • I try to set up a slider that shows images of the recent category archive.

    As the slider doesn’t show any images, I set the slider to a fixed category while trying to find the error:

    echo do_shortcode(‘[nivo
    post_type=”post”
    theme=”default”
    link=”y”
    caption=”n”
    thumbnail=”large”
    thumbs=”n”
    numberposts=”1″
    offset=”0″
    category_name=”aaaa”
    orderby=”date”
    order=”DESC”
    ]’);

    If the first post of the displayed category is in
    “aaaa” the slider stays emty
    “aaaa” and “bbbb” the slider stays empty
    “bbbb” the slider shows the post thumbnail of the first post
    “cccc” the slider shows the post thumbnail of the first post

    I already checked: the problem is not category specific. It happens with every category.
    I already deleted the loop, the sidebar, the footer and everything alse that could contain page specific code from the archive page, which means that I almost reduced the code to the wp_head and the slider – still doesnt work.

    I need help please 🙂

    http://wordpress.org/extend/plugins/oik-nivo-slider/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Maybe it’s better to ask this question 🙂

    I’d like to integrate an oik nivo slider on all my category pages. The slider should show the first 5 newest posts of the current category. How does this work?

    if (is_archive()) { ?>
    <div id=”banner”><?php echo do_shortcode(‘[nivo


    what is needed here?

    ]’); <? php }

    Addional information:
    it seems that on the home-page the slider works only if it is within the category of the first post, while on the archive pages it is exactly the opposite way…

    Plugin Author bobbingwide

    @bobbingwide

    Hi, sorry. I missed all of these messages. I believe the problem may be due to some iffy logic within the bw_get_posts() function

    http://www.oik-plugins.com/oik_api/bw_get_posts/

    I’ll need to take a look

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slider not working on archive’ is closed to new replies.
Skip to toolbar