Forums

Create Child page template (4 posts)

  1. gilbertoalbino
    Member
    Posted 4 months ago #

    Hi there!
    I got a situation here!
    I created two pages:

    profile
    --create

    create is children of profile.

    I'd like to create a template file inside twenty ten theme, but no success!

    for profile I created a template page called:

    page-profile.php

    But for 'create', I can't get anything to work.

    I tried

    page-profile-create.php
    page-create.php

    But no success!

    hope somebody could help.

    `Thanks in advance!

  2. alchymyth
    The Sweeper
    Posted 4 months ago #

    http://codex.wordpress.org/Template_Hierarchy#Page_display

    what is the page slug of the 'create' page?

    possibly, try to work with the page ID of the 'create' page; or create a page template to use with that page

  3. gilbertoalbino
    Member
    Posted 4 months ago #

    Yep, something strange over here!
    I tried to create the page with ID and it worked.
    Then I tried again with 'create' slug and it worked.
    There should be some sort of Ghost! hahahaha

  4. dragonsjaw
    Member
    Posted 4 months ago #

    I really hope you are using a child theme of Twenty Ten.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.