Problem with page templates (4 posts)

  1. marcum502
    Posted 2 years ago #

    I am working with a child theme of twenty eleven.

    I have created a couple of page templates for the side. One with a side bar and one without.

    I have the site set to a static front page, then have a page called "blog" for posts.

    When I go to the blog page in WP, I can select my page template with a side bar. I then click update but when i go to look at the page...no dice, it is not reading my template.

    If I try the side bar template on a static page (the non blog portion) It will work.

    any thoughts? am i missing something way dumb?

  2. marcum502
    Posted 2 years ago #

    I think I got it. I was missing something dumb. I forgot that the blog posts page still pulls it's info from index.php. made my edits there and all seems right with the world. so If i am seeing this right, for a page of post, a template file does not really matter.

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    you are right - the 'posts page' will use the index.php or home.php


  4. herrin
    Posted 2 years ago #

    It will ignore the template but creating the page is still necessary and designating it in the Settings >> Reading section just tells WordPress what URL that the index.php or blog page should be found at. Keep in mind that the index page most often also determines the archives, categories and tags pages as well.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.