WordPress.org

Ready to get started?Download WordPress

Forums

WP Nivo Slider
Chosen category becomes only posts on blog (5 posts)

  1. fundamental
    Member
    Posted 3 years ago #

    I am trying to use the Nivo slider plugin on my first Thematic child theme. Have it installed etc. My theme has 2 menus, one at the top above the branding for pages & and one below the branding for categories. I am inserting the slider div into the header like so.

    function top_box() { ?>
    <?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>
    <?php }
    add_action('thematic_header','top_box',6);

    I've set the slider to load a category called "featured". The Slider appears, loads the slides fine. The issue is it messes up the posts and nav so ONLY the category "featured" posts show up on the blog in all pages and categories. All other posts disappear.

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

  2. AndyAA
    Member
    Posted 3 years ago #

    I am also getting the same problem...anyone else know why this is happening?

  3. AndyAA
    Member
    Posted 3 years ago #

    Ok so after a while I finally worked out how to fix this error if anyone is interested

    Open the file 'wp-nivo-slider.php' from the plugin files and go to line 195 or where is says <?php endwhile; endif;?>

    After that line simply paste <?php wp_reset_query();?>

    It stops the plugin from running the query script all over the rest of the site

  4. lcrafael
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    This solution was incorporated in the new version.

    --
    Rafael Cirolini
    [sig moderated as per the Forum Rules]

  5. calliope8muse
    Member
    Posted 3 years ago #

    Just to make sure if this topic is related really?

    Can Nivo slider appear in my static pages as well as my blog posts?

    and if so, how?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic