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

  1. fundamental
    Posted 5 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 }

    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.


  2. AndyAA
    Posted 5 years ago #

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

  3. AndyAA
    Posted 5 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
    Plugin Author

    Posted 5 years ago #


    This solution was incorporated in the new version.

    Rafael Cirolini
    [sig moderated as per the Forum Rules]

  5. calliope8muse
    Posted 5 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

  • WP Nivo Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic