• Resolved andrewkar

    (@andrewkar)


    Hi,

    Can you tell me how to add custom page template? I have tried already but and failed. I need a page template with no header image, no navigation and sidebar. Just blank full width page that I can customize according to my needs. Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi andrewkar. Give this a try:
    1. Create a new php file in your child theme folder; name it whatever you want.
    2. Add this code in the file:

    <?php /*
    Template Name: MyBlankTemplate
    */
    ?>

    Change the Template Name to whatever you want to call it. This is the name that will be displayed in the Page Attributes Template list. See how that works.

    Thread Starter andrewkar

    (@andrewkar)

    Hi bdbrown. Thanks but I have tried it already and it didn’t work. Custom page will not show up in template selector.

    Thread Starter andrewkar

    (@andrewkar)

    Ok, Your advice was correct actually. I was uploading the page to a wrong folder (main theme). Thank you sir 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Template] Blank Full Width Page ?’ is closed to new replies.