• Current site running WP 4.3.1 and Twenty Fourteen Child theme
    Bata testing WP 4.4-Bata3-35569 Twenty Sixteen Theme off line.
    Page option templates missing, that seems to be a Theme issue.
    In Twentyfourteen in page attributes it has a template option, while in Twentysixteen that option is missing

Viewing 3 replies - 1 through 3 (of 3 total)
  • Twenty Sixteen does not have page template other than default. That’s why you don’t see the option line Twenty Fourteen.

    Thread Starter PurplePix

    (@purplepix)

    Takashi Irie,
    If I understand correctly, the default template has a header, body content, sidebar and footer.

    Within the confines of theme design is it possible to have a page(s) that has all the elements and other page(s) that excludes the sidebar and/or footer?

    I am a user not a programmer, so work mostly within the structure provided. Using Twenty Fourteen and a child theme I have been able to make some modest changes to a three column theme to meet our needs. My first look at Twenty Sixteen was to see if we could remain current with our theme and core software.

    Without optional template(s) does that not restrict ones ability to fully take advantage of your design while meeting their custom needs?

    Thank you for listening to my thoughts and questions. All the best and I am sure many will find Twenty Sixteen perfect for their needs.

    Within the confines of theme design is it possible to have a page(s) that has all the elements and other page(s) that excludes the sidebar and/or footer?

    Yes. It is possible to use any php code in a template page. Even though it doesn’t show at first any Template options, it will, once you create and upload a template page into your theme or child-theme. The name of the php file does not matter, the name that will show in the attributes will be taken from a comment area at the beginning of the php file. For example, a template option called “Full width” needs the following code at the beginning of the .php file. The rest of the code is for anybody to play with.

    <?php
    /**
     * Template Name: Full width
     *
     */

    Note: WordPress looks for “Template Name:” written exactly like that to grab the name of the template to show in the attributes. So keep it exactly like I just wrote it, just change whatever name you want to give to the right of the :

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page atributes missing template choice’ is closed to new replies.