• petewatterschatsworth

    (@petewatterschatsworth)


    I am learning wordpress

    Site Editor – Templates – Add Template

    I want to create a new template for Page’s I have the option “select what the new template should apply to” and select “Pages” or do a Custom template

    If I select “pages” I get an option to select from a list “Template will be used only for a specific item chosen” The list is a listing of the pages I have already created.

    I am trying to understand under what circumstances I would select one of the options.

    Functionly I do not see a difference

    Do I have this wrong

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • If you already have a Pages template created, that will apply to all of your pages. If you create another, it will make you choose a single page for it to apply to since you cannot have two. This is because of the file name. Using the example of setting my About page to a custom page template – the default page is saved in a file page.html but now there is a page-about.html that displays my About page.

    You can see where this is a bit limited which is where a custom template is useful. A template-two-column.html for example could be made as a custom template and that can be set to multiple pages/posts to use this format

    This article on the template hierarchy might help to explain it

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.