Creating a Child Theme basics

  • Author
    Posts
  • #111357

    My question refers to these instructions:

    Theme Name: My first WordPress child theme
    Theme URI: http://somelink.com/
    Description: This is a child theme for the Mantra theme. Oh mama, if you could see me now.
    Author: Your name
    Author URI: http://somelink.com/me/
    Template: mantra
    Version: 1.0

    The most important part of the information header of a child theme is the Template field. Here you must input the exact name of the directory of the theme you are making a child theme for (capitalization matters!). If you wanted to make a child theme for the Twenty Twelve theme for example, the Template field would’ve been “twentytwelve” just like the folder of that theme.

    The example above shows Template: mantra
    The text below shows: twentytwelve

    To be more clear the above should state: “mantra” is what needs to appear

    This caused some confusion getting started

    #112457
    Zed
    Cryout Creations mastermind

    The indication to ‘twentytwelve’ below the sample code is just an example. The ‘template’ tag should always indicate the slug of the (parent) theme you’re making a child theme for.

    Our child themes tutorial is somewhat outdated anyway and no longer works optimally (at least not for our own themes). We’ll need to update it with more recent and specific information.


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
Viewing 2 posts - 1 through 2 (of 2 total)

You need to log in to reply to this topic.