The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress Pages and Posts

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #30931

    So I downloaded Starkers and I am working from there on a site. Even with the default template, I can not figure out how to do this..

    Creating a page. Easy. Add new page, name the page, it shows up in the navigation. Ok, choose whatever template for that, easy, done. Now I want to add a post for that new page. So if I named the page Events, I want go to add a new post, post whatever event I want, and tell in to GO to the Events page and be posted on their. Any suggestions?


    Pages aren’t design to display posts, they are meant to display content.

    If you want a Page to run a loop, you’ll need to create a new template.


    Just create a page that calls the loop?


    What you want to do is make a category called events and just mark related posts with that category, so then you could go to . It says categories in the URL by default, but you can set it up to just show the category name (you might have to use a plugin). Check the WordPress Template Hierarchy to see what template it will use. In many cases, you’ll see template designers have the Archive.php catch these pages and use php to change the headers.


    If you go with jfreehill’s method, you can use WordPress’ built in menu system to display categories as navigation items.


    A combination of page templates and Custom Post Types may be the best way of doing what you want, see this tutorial from design juices:

    Or the simple way is to create just the page template, that runs a second loop displaying just posts in a specific category.

    My projects page does just that, by displaying all pages that are the child of the projects. (Although I may edit the template to just show the excerpt as my project base expands!)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.