Bird
0
0

You want to create a child theme and need to specify the parent theme in style.css. Which metadata field should you use?

hard📝 Application Q9 of 15
Wordpress - Theme Structure and Basics
You want to create a child theme and need to specify the parent theme in style.css. Which metadata field should you use?
ATemplate: parent-theme-folder
BParent: parent-theme-folder
CParent Theme: parent-theme-folder
DBase Theme: parent-theme-folder
Step-by-Step Solution
Solution:
  1. Step 1: Recall child theme metadata requirements

    To link a child theme to its parent, the Template field is used with the folder name of the parent theme.
  2. Step 2: Confirm correct field name

    Fields like Parent, Parent Theme, or Base Theme are not recognized by WordPress.
  3. Final Answer:

    Template: parent-theme-folder -> Option A
  4. Quick Check:

    Child theme parent specified by Template field [OK]
Quick Trick: Use 'Template:' to specify parent theme folder [OK]
Common Mistakes:
  • Using 'Parent' instead of 'Template'
  • Using spaces in field name
  • Confusing with Theme Name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes