• Hey Everyone,

    I am doing the CSS Reboot thing and offering my theme as a free download when I’m done.

    I think I’ll cut streight to the point, today! Basically, what I want to do is to include an asides feature by default in the theme. I want to exclude the asides category on the home page, for obvious reasons. But, as with the nature of WordPress, everyone’s Asides category number will be different. I am trying to excluse the asides with code such as this:

    if (is_home()) {
    query_posts('category_name=-Asides');
    }
    ?>

    However, this only displays the posts in that category! Where am I going wrong?

    Many Thanks in advance,
    Oliver

Viewing 1 replies (of 1 total)
  • Thread Starter obeattie

    (@obeattie)

    Something else you could maybe help me with; how could I display posts in the Asides category in list form in the sidebar?

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Category by Name’ is closed to new replies.