WordPress.org

Support

Support » Plugins and Hacks » Skitter Slideshow » [Resolved] [Plugin: Skitter Slideshow] How to exclude category?

[Resolved] [Plugin: Skitter Slideshow] How to exclude category?

Viewing 3 replies - 1 through 3 (of 3 total)
  • OK, I just did it.

    In file wp-skitter-slideshow.php:

    $query_posts = 'cat='.$category.'&posts_per_page='.$wp_skitter_slides;

    >

    $query_posts = 'cat='.$category.'&cat=-11&posts_per_page='.$wp_skitter_slides;

    Piece of cake. Hope to save some other ppls time.

    What if you wanted to exclude all categories but two of them? Would it be something like this?:

    $query_posts = 'cat='.$category.'&cat=-3,-4&posts_per_page='.$wp_skitter_slides;

    Yes, this is how it works for me now. However in previous versions (below 2.0) the working code would look like this:

    $query_posts = 'cat='.$category.'&cat=-3&cat=-4&posts_per_page='.$wp_skitter_slides;

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Skitter Slideshow] How to exclude category?’ is closed to new replies.
Skip to toolbar