Lubinik Learning

Training mode

Child Themes

Time remaining:

0 / 20 answered

  1. 1. What is the main purpose of a child theme?

    What is the main purpose of a child theme?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  2. 2. Which style.css header links a child theme to its parent?

    Which style.css header links a child theme to its parent?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  3. 3. What should the child theme Template value match?

    What should the child theme Template value match?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  4. 4. Which file is essential for WordPress to identify an ordinary child theme?

    Which file is essential for WordPress to identify an ordinary child theme?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  5. 5. How do child and parent functions.php files behave?

    How do child and parent functions.php files behave?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  6. 6. How can a child theme override a parent template file?

    How can a child theme override a parent template file?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  7. 7. What happens when a child theme provides header.php?

    What happens when a child theme provides header.php?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  8. 8. What happens when the child theme does not provide a requested template?

    What happens when the child theme does not provide a requested template?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  9. 9. What does get_template_directory() return when a child theme is active?

    What does get_template_directory() return when a child theme is active?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  10. 10. What does get_stylesheet_directory() return when a child theme is active?

    What does get_stylesheet_directory() return when a child theme is active?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  11. 11. Which function returns the parent theme directory URL?

    Which function returns the parent theme directory URL?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  12. 12. Which function returns the active child theme directory URL?

    Which function returns the active child theme directory URL?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  13. 13. Why can get_theme_file_uri() be useful?

    Why can get_theme_file_uri() be useful?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  14. 14. Should a child theme always assume WordPress automatically loads the parent stylesheet?

    Should a child theme always assume WordPress automatically loads the parent stylesheet?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  15. 15. How can a child stylesheet reliably load after a parent stylesheet?

    How can a child stylesheet reliably load after a parent stylesheet?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  16. 16. Which files are normally overwritten when the parent theme updates?

    Which files are normally overwritten when the parent theme updates?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  17. 17. Can an ordinary child theme work if its parent theme is missing?

    Can an ordinary child theme work if its parent theme is missing?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  18. 18. When is a hook preferable to copying a large parent template?

    When is a hook preferable to copying a large parent template?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  19. 19. What is a risk of overriding a large parent template?

    What is a risk of overriding a large parent template?
    Hint

    Separate presentation responsibilities from reusable site functionality.

  20. 20. What should still remain in a plugin rather than a child theme?

    What should still remain in a plugin rather than a child theme?
    Hint

    Separate presentation responsibilities from reusable site functionality.