WordPress.org

Forums

Question about Recent Posts from a certain category (4 posts)

  1. NYXX
    Member
    Posted 7 years ago #

    I was wondering if there was a way to exclude a certain category from showing up in my recent posts section. Example I have 3 categories.

    News
    Politics
    Movies

    I want to exclude the politics category posts from showing up in my recent posts section of my blog. Readers will have access to those posts via clicking on the category.

    Also if it was possible only to showcase a few of them in that section when I choose to.

    This will be for the main blog section and not the sidebar.

  2. moshu
    Member
    Posted 7 years ago #

  3. NYXX
    Member
    Posted 7 years ago #

    Is there another simple plugin to use for this. Or can I possible hard code by php file?

  4. TrishaM
    Member
    Posted 7 years ago #

    When you refer to "recent posts section" are you talking about a list of links to recent posts, like you might find in a sidebar, e.g:

    Recent News Posts
    - news item 1
    - news item 2
    - news item 3

    OR are you referring to displaying the posts themselves (with content or excerpt) but just excluding a particular category?

    If w can get a clearer picture of what you want to do we might be able to come up with a simple solution

Topic Closed

This topic has been closed to new replies.

About this Topic