WordPress.org

Ready to get started?Download WordPress

Forums

Hiding posts from a certain category actually hides ALL posts (1 post)

  1. Dani Weymouth
    Member
    Posted 1 year ago #

    Hi all. I've been attempting this for hours now... I am trying to hide posts from a certain category throughout my site EXCEPT in my marquee / announcements ticker on my home page.

    I did my research and found two different versions of code, for example:

    http://www.viewfinderdesign.co.uk/archive/38/excluding-a-category-from-the-home-page/

    and

    http://wpquestions.com/question/show/id/1530.

    I have tried using this code in both the index.php and the blog-archive.php as well as in just one or the other.

    But what winds up happening is either all the posts from all categories show up or no posts shows up at all.

    I have tried using plugins but I haven't found any that will hide posts from a certain category from the loop but still display in my marquee / announcements ticker on my home page.

    Uuughhh... any other tips would be very much appreciated!

    My site is: http://seaninconcert.net/sic-thoughts/.

    Thanks!!!

Topic Closed

This topic has been closed to new replies.

About this Topic