Forums

Secondary Blog page (7 posts)

  1. xodeus
    Member
    Posted 1 year ago #

    hi there.
    I would like to have posts from a particular category to only show in another page. Like an admin blog where the admins tell about updates to the site... But I don't want the posts to show on the front page... How Do I do that?

  2. xodeus
    Member
    Posted 12 months ago #

    Isn't it possible to have a category like "webmaster" on a page for it self?

  3. greenshady
    Member
    Posted 12 months ago #

    Yes, those are called category archives:
    http://codex.wordpress.org/Category_Templates

  4. moshu
    Member
    Posted 12 months ago #

    Also, look for the Advanced Category Excluder plugin in the Extend section.

  5. greenshady
    Member
    Posted 12 months ago #

    I seemed to have overlooked part of the question.

    You can also exclude categories with query_posts.

  6. xodeus
    Member
    Posted 12 months ago #

    So I have to create a file called category-25.php and put it to my themes folder. But what then? What do I have to fill in it? Can I just copy content from an existing file in my wp installation?

  7. moshu
    Member
    Posted 12 months ago #

    If you just want to exclude the category's posts from the main page - you don't really need the category template (which, btw, can be "made" by saving your archive.php or index.php as category.php...).
    You would need special templates ONLY if you want to style them differently then the rest of the theme or want to add something special that is not present in
    a) other templates
    b) other categories
    c) other archives

    Also useful: Template_Hierarchy

Topic Closed

This topic has been closed to new replies.

About this Topic