WordPress.org

Ready to get started?Download WordPress

Forums

Problem with page templates (4 posts)

  1. marcum502
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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 1 year ago #

    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

  4. herrin
    Member
    Posted 1 year 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

Tags

No tags yet.