• Resolved mdufauloomi

    (@mdufauloomi)


    Hello,

    I’m trying to create a new template for my page in my theme. I’ve created a test.php file, in my templates folder, along with my others template pages in html.

    I’ve followed the official tutorial, but my php template isn’t showed in my template list on my wordpress editor. Does anyone know why ? What can I do ?

    Here is my test code :

    <?php
    /*
    Template Name: Test Template
    */
    ?>
    <h1>This is a test</h1>

    Thanks in advance !

    • This topic was modified 1 year, 5 months ago by mdufauloomi.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom php template’ is closed to new replies.