-
AuthorPosts
-
January 4th, 2021 at 20:26 #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.0The 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: twentytwelveTo be more clear the above should state: “mantra” is what needs to appear
This caused some confusion getting started
January 17th, 2021 at 22:09 #112457ZedCryout Creations mastermindThe 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 check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘Creating a Child Theme basics’ is closed to new replies.