WordPress.org

Ready to get started?Download WordPress

Forums

so close yet so far | exclusions and conditionals + semi-static pages (4 posts)

  1. devils_advocate
    Member
    Posted 8 years ago #

    Hi.

    Got a site.
    Mostly works.
    Got to index.php and all the posts show. Don't want that. I want only specific categories to post there. so I do set up a call to show only a specific category (system maintinence annoucements). This works. I can only see the one category on index.php...

    But now, when I click to see other categories from other pages where I have all posts showing, I don't get anything except the page that shows the exclusion (only system maintinence announcements)

    Can someone lend a hand and point me in a direction with solid assistance?

    Thank you very much.

    So far the list assistance has been excellent for me....

    -DA

  2. Chris_K
    Member
    Posted 8 years ago #

    If I had to guess, I'd guess that your theme doesn't have a category.php so defaults to re-using your index.php.

    http://codex.wordpress.org/Template_Hierarchy

    If that's the case, I'd lean towards creating a category.php

    http://codex.wordpress.org/Category_Templates

  3. devils_advocate
    Member
    Posted 8 years ago #

    Thanks HandySolo.

    I went ahead and created one from the "archive.php" file per the codex and I'm still getting the same "error".

    I then created 9 category pages (to match existing categories in Admin = Manage/Categories) each called "category-6" "category-7" (....etc)

    Same problem exists.

    (I'm wondering if there may be a better way/place to put my conditional calling system maintinence announcements? something that wouldn't break....)

    either way - I'm stuck "trying to get over this wall" for now -

    any other ideas? anyone?

    tia

    DA

  4. devils_advocate
    Member
    Posted 8 years ago #

    oh...and I do have a single page "category.php" in the directory too

    DA

Topic Closed

This topic has been closed to new replies.

About this Topic