WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide posts in subcategories (4 posts)

  1. AdamWills
    Member
    Posted 4 years ago #

    I'm working on creating a template, and can't seem to find any resolution to this.

    I'm working on a category page, and am looking for a way to display only the posts that are directly in the current category. If the posts are in a subdirectory, I do not want them displayed.

    Any ideas?

  2. AdamWills
    Member
    Posted 4 years ago #

    I've searched through both pages previously, to no avail. I can display the posts for the current category, but it also displays posts in any subcategories, and I can't seem to figure out a way to not display them.

Topic Closed

This topic has been closed to new replies.

About this Topic