WordPress.org

Ready to get started?Download WordPress

Forums

Re-usable template from a template (2 posts)

  1. pdoransdesign
    Member
    Posted 1 year ago #

    I want to create a template for a client to re-use for a number of different websites, so they would have access to admin area and could drop photos/text etc into the template easily.

    I don't have much knowledge of coding/html/css only a basic knowledge and I want to know what the best way to do this is. Could I use a template off wordpress and create a child theme and override parent theme php and tweak it to their company colours without it showing up in the source?

    Or do I create a new template from scratch.. if so, please someone help me with some resources and tell me how much code I need to know to do this? Where to start etc.

    Thanks

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    At the top of your template file, put
    <?php /* Template Name: YourtemplateName */ ?>

    Then this template will be selectable through the admin screen, when assigning page attributes

Topic Closed

This topic has been closed to new replies.

About this Topic