This topic has 6 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #162405
     burde.media
    Participant

    Hi guys,

    I want to add a new customized page template to wordpress. But it did not work. It is not shown at hte drop down menu…where should I place the file and which content should be in?

     

    THX

     

     

     

    Attachments:
    You must be logged in to view attached files.
    #162501
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #162631
     Radu
    Moderator

    Hi,

    How have you added new page template?

    In this way, a new template can be created: https://premium.wpmudev.org/blog/creating-custom-page-templates-in-wordpress/

    But you can duplicate a template from ours, example this one : /wp-content/themes/kleo/page-templates/left-sidebar.php

    And to can have it even you update the theme just put the new template in wp-content/themes/kleo-child/page-templates/

    NOTE: Child theme needs to be installed and activated.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162638
     burde.media
    Participant

    Hi Radu,

    I tried it on different ways (also the way you have shown)…I also checked the permissions…but no result…I tried it with a wordpress standard theme…no result….

    what could be the reason for that?

    Regards
    Andy

    #162766
     Radu
    Moderator

    Hi,

    Most sure you do something wrong there,

    FRom example copy this content : https://pastebin.com/raw/TdtNHkkL

    Go to wp-content/themes/kleo-child/page-templates/

    Create a file named from example : my-page-template.php open the file and paste the content from clipboard then you are able to make the changes that in need in this file and to change it for every page that you need

    NOTE : Child theme needs to be installed and activated.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #163221
     burde.media
    Participant

    Hi,

    did a work around…so you can close the ticket 😉

    THX

    #163325
     Radu
    Moderator

    Ok then

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?