WordPress.org

Support

Support » How-To and Troubleshooting » Problem with page templates

Problem with page templates

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Michael

    @alchymyth

    Forum Moderator

    you are right – the ‘posts page’ will use the index.php or home.php

    http://codex.wordpress.org/Creating_a_Static_Front_Page#Creating_a_Static_Front_Page

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with page templates’ is closed to new replies.
Skip to toolbar