Forum Replies Created

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