• Resolved nikita81

    (@nikita81)


    Hi,
    I have create a new file template-home_custom.php and saved it in themese directory. I would customized my homepage (Deleting menu and so on..)
    BUT when I create a new page and assign the custom template, in the right column, in the page attributes tab, I don’t see ma template in the drop down list of template list. I see only the following value: default template, contact, everbrite events, frontpage and full width.
    How should I add my custom template in this list?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ganesh Paygude

    (@ganeshpaygude)

    HEllo Nikita81,

    Have written below code at the top of your template:

    <?php /*
    Template Name: Your Page Template Name
    */
    ?>

    Thanks

    Thread Starter nikita81

    (@nikita81)

    Unfortunately not…. I didn’t understand It was mandatory, I have supposed that it was just a comment in the code… 🙁

    Not it works.. .thanks really much!

    rodicaelena

    (@rodicaelena)

    Hi @nikita81,

    I am really happy you manage to find the solution for your issue.
    Could you please mark this thread as resolved so we can better manage the forum?

    Thank you,
    Rodica

    Thread Starter nikita81

    (@nikita81)

    I did it! @rodicaelena thanks a lot!

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

The topic ‘Custom Template’ is closed to new replies.