Bird
0
0

Which line correctly declares a child theme in the style.css header?

easy📝 Syntax Q3 of 15
Wordpress - Theme Structure and Basics
Which line correctly declares a child theme in the style.css header?
ATemplate: parent-theme-folder-name
BParent: parent-theme-folder-name
CTheme-Parent: parent-theme-folder-name
DChild-Of: parent-theme-folder-name
Step-by-Step Solution
Solution:
  1. Step 1: Recall child theme header syntax

    The child theme must specify the parent folder with Template: in style.css.
  2. Step 2: Identify correct header line

    Only Template: parent-theme-folder-name is valid to link child to parent.
  3. Final Answer:

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

    Child theme header uses Template [OK]
Quick Trick: Use 'Template:' to link child to parent theme [OK]
Common Mistakes:
  • Using 'Parent:' or other incorrect keywords
  • Omitting the Template line entirely
  • Using the parent theme name instead of folder name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes