Support » Plugin: Posts in Page » How to exclude posts from a category

Viewing 1 replies (of 1 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi Jason,

    I don’t think you can enter individual posts to exclude, but you CAN exclude categories with the exclude_category attribute. So you might create a category called ‘exclude’ and add the posts to exclude to that category.

    If I have a categories called cat1 and cat2, and there are some posts that belong to both categories, then the following should display those posts that belong to cat1, but exclude any that also belong to cat2.

    [ic_add_posts category='cat1' exclude_category='cat2']

    I hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘How to exclude posts from a category’ is closed to new replies.