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/
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 startedJanuary 17th, 2021 at 22:09 #112457ZedCryout 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.
You need to log in to reply to this topic.