Bird
0
0

You want to customize your WordPress site's header without losing changes after theme updates. What is the best approach?

hard📝 Application Q15 of 15
Wordpress - Theme Structure and Basics
You want to customize your WordPress site's header without losing changes after theme updates. What is the best approach?
AEdit header.php and rename it to header-custom.php
BEdit the parent theme's header.php file directly
CUse a plugin to disable theme updates
DCreate a child theme and edit its header.php file
Step-by-Step Solution
Solution:
  1. Step 1: Understand theme update behavior

    Editing parent theme files directly causes loss of changes when the theme updates.
  2. Step 2: Identify safe customization method

    Creating a child theme lets you override files safely without losing changes on updates.
  3. Final Answer:

    Create a child theme and edit its header.php file -> Option D
  4. Quick Check:

    Child theme = safe updates [OK]
Quick Trick: Use child themes to keep customizations safe [OK]
Common Mistakes:
  • Editing parent theme files directly
  • Disabling updates (unsafe)
  • Renaming files without proper setup

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes