• vuni

    (@vuni)


    Greetings,

    SHORT VERSION:
    Under my blog: http://www.irinachernetskaya.com/blog
    Can I exclude posts from a specific category? I wan’t them shown on a different page alone.
    ____

    I’ve spend serval hours trying to solve this issue of mine. I have a website: http://www.irinachernetskaya.com/blog/

    I am going to add an additional “blog-ish” entry in the top entitled “MOVEfitness”, here people can make comments (as in a post).

    Now if I have to create a new category entitled MOVEfitness where all related posts can be posted. But under my BLOG page, it writes out the category entries.

    What Ive done is simply to hide the category ID using a plugin. Problem is, my blog stills writes out the content from the hidden category:

    http://www.irinachernetskaya.com/blog/ <- In here you cannot see the category “MOVEfitness”, but you can see it’s entries.

    Is there a way to prevent posts from showing up when hidden?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Rod Whiteley

    (@rod-whiteley)

    Are you writing the plugin yourself? A plugin can modify the query before WordPress fetches posts from the database, so that the unwanted posts cannot be seen. Look in the file wp-includes/query.php for function get_posts to see the actions and filters you can use before the // Paging comment to modify the query.

    Thread Starter vuni

    (@vuni)

    Hey Rod,

    I am using a plugin entitled Category Excluder Alpha, in the widgets I write which category ID’s to hide.

    Rod Whiteley

    (@rod-whiteley)

    It sounds like Category Excluder Alpha doesn’t work well. Perhaps there is another plugin that works better.

    Thread Starter vuni

    (@vuni)

    Hey Rod,

    Do you know any alternative solutions? I haven’t had any luck personally.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide blog Category'n'post’ is closed to new replies.