• Resolved depperson

    (@depperson)


    I am using WP 2.0 as a CMS, and it is working out great. I am a newbie, and learning (by experience and the forums) to tweak templates and tags and such.

    However, I am confused and request help on this topic. I know there are forum posts about it, but most are too advanced for where I am.

    I have a church website, and I would like the pastor to be able to make new posts at will. Whatever his newest post is, should show up on a a sub-page (child of Home) I created, called “A Note from the Pastor.” and the rest should archive (maybe even a listing of archived posts on the same page).

    I have seen a few plugins, and read over the single.php template codex, but I can’t put 2 and 2 together for this one.

    http://www.jesusmyrefuge.org/home/nfblog

    Can someone get me started and maybe a few others throw me a bone or two?

Viewing 4 replies - 1 through 4 (of 4 total)
  • moshu

    (@moshu)

    One possible approach:
    Make those “Notes” a category (which should be excluded to show up on the main page and in the menu).
    Create a category template for that category with a Loop that shows only one post. (It will be the latest.) Additionally, you can use a plugin or a miniloop to show a list of earlier/previous Notes.

    Thread Starter depperson

    (@depperson)

    Okay, let me rephrase. I have a sub-Page listed in my menu that I want to contain the latest post and archived post list.

    I have started with categorizing the posts, but what do I name my page template where it affects that individual page.

    please look http://jesusmyrefuge.org/home/nfblog/ is the home page with the sub-Page listed at the top.

    http://jesusmyrefuge.org/home/nfblog/?page_id=48 is where I would want to list the pastor’s latest note and show and archived list.

    I really am getting lost. I’ve looked at category templates, page templates, conditional tags, AND my brain feels like I am reading the encyclopedia.

    Remember, I am definitely a newbie, so you almost have to spell out the code logic for me. But I promise to keep studying!

    moshu

    (@moshu)

    Forget the Pages. Pages are not meant to show posts. Period.

    In the scenario I suggested above all you have to have is a category template (see Template_Hierarchy).

    Thread Starter depperson

    (@depperson)

    I understand what you are saying moshu, and it is probably the best approach.

    Here’s a secondary dilemma: how can I keep the horizontal sub-menu that appears if I go with the category template? Add it manually?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Newest Post on a Individual Page’ is closed to new replies.