• Hi!

    I just read the topics about having posts on pages, but i don’t really know how to solve my problem:

    i have a blog with some static pages. on the index page i just display a certain category of posts (in detail: just one specific category is shown on the index page). now i want to show posts of other categories on my pages.

    e.g.:
    my page is football… now i put some words as a kind of introduction on this page (some bla bla bla) and then i want to show all posts of category e.g. “football” just on this page.

    which files do i have to change to show this specific posts on a defined page?

    thanks a lot, Neo_II

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds like, to me, you want to understand Category Templates.

    So, you might want to build a “front page” with the loop modified for one category. The, build a series of category pages (see first link) to handle your categories.

    Thread Starter Neo_II

    (@neo_ii)

    Hi!

    Unfortunately the Category templates are not what i’m searching for. i don’t want to change the appearence of the category pages.

    it’s essentially, to change a “nomal” page so, that after a small intro-text, all posts of a certain category are listet on the page.

    e.g.:

    (page)
    bla bla bla bla


    (cat_id=xxx)


    (/cat)
    (/page)

    for my naviagation it’s very important to change the page and not the category page.

    has anybody an idea?

    Boy, that still sounds like the category hierarchy. Maybe some more info? http://codex.wordpress.org/Template_Hierarchy

    A category page is simply a listing of POSTS within that category. As such, using the hierarchy of your template, you can add exactly what you’re talking about to the individually styled theme templates.

    Or you could reinvent the wheel.

    Thread Starter Neo_II

    (@neo_ii)

    ok…

    i know, that what i’m looking for does exactly do what category-pages do. BUT i want a static page to show the posts of a certain category (yes, as it does a category-page). but for my navigation it’s essentially to NOT USE a category-page but a normal page.

    i know it’s kind of reinventing the wheel, but i don’t think that it is such a problem to view posts of a certain category on a page.

    I asked this same question maybe six months ago. I didn’t understand the answer then. Am much farther along now and might actually be ready to take a stab at it… Except I no longer see the great need to do this with static pages.

    The answer I was given was simply to add the loop (and the call for listing the posts in the specific category you want to list) to your static page.

    Have you tried that? I haven’t. But it SOUNDS like it should work, doesn’t it?

    Best,
    kwc

    Thread Starter Neo_II

    (@neo_ii)

    i think you got my idea… but i don’t know which files i have to edit to show all posts of the e.g. “update” category in my static “update” page.

    i found a plugin that lists all posts of a category in a static page. but i don’t need a list, i neet the whole posts to be shown at the page.

    maybe you know how to do that…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posts on Pages… again…’ is closed to new replies.