template problem (4 posts)

  1. aschweig
    Posted 9 years ago #

    I'm trying to create two different templates for a site I'm working on: http://nightlights.blogs.wfiu.org, one called "shows" will display only posts in that category (category 6 I believe) and the other "blog" will display posts in all categories except that one. They'll have different sidebar content, but that seems like an easier problem to fix once I get the big one solved.

    The issue is that not only is WordPress not grabbing the
    templates I want it to (I made templates called "shows" and "blog" but it keeps just grabbing the index.php template), but also that it's displaying an empty blog post with the title of the page I created (using the usual method which seemed to work for the other pages I made for this site).

    Does anyone have any idea what I could be doing wrong here? Kind of new at this and several attempts have been fruitless. Thanks for any advice...

  2. moshu
    Posted 9 years ago #

    what I could be doing wrong here?
    I bet you want to work with Page templates instead of Category_Templates.

  3. aschweig
    Posted 9 years ago #

    so is the only way to get this to work to create another top level category for all the blog posts and then have them in subcategories? That seems to be the only way to use category templates to make this work.

  4. moshu
    Posted 9 years ago #

    I am not sure I can follow this. Why would you need "another top level category" - unless you want some hierarchical structure for them?
    You can have a template category-6.php for your shows and a category.php for everything else.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.