WordPress.org

Ready to get started?Download WordPress

Forums

oik-nivo-slider
Slider not working on archive (4 posts)

  1. Virtuallaw
    Member
    Posted 1 year ago #

    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/

  2. Virtuallaw
    Member
    Posted 1 year ago #

    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 }

  3. Virtuallaw
    Member
    Posted 1 year ago #

    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...

  4. bobbingwide
    Member
    Plugin Author

    Posted 10 months ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.