WordPress.org

Support

Exclude by category

Viewing 2 replies - 1 through 2 (of 2 total)
  • yourmedia

    @yourmedia

    Having the same question: i would like to list popular posts by category.

    masspamak

    @masspamak

    if you use a template tag you may add the minus sign before the category number

    cat=’1, -2, -3′

    this will call the popular posts in category 1 and exclude popular posts from category 2 and 3

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude by category’ is closed to new replies.
Skip to toolbar