Recall & Review
beginner
What is the first step in creating a WordPress theme from scratch?
Create a new folder in the
wp-content/themes directory with your theme's name.Click to reveal answer
beginner
What is the purpose of the
style.css file in a WordPress theme?It defines the theme's styles and contains the theme header comment that tells WordPress about the theme's name, author, and version.
Click to reveal answer
beginner
Which file is required to make a WordPress theme functional and display content?
The
index.php file is required as the main template file to display content.Click to reveal answer
beginner
How do you tell WordPress about your theme's details like name and author?
By adding a comment block at the top of
style.css with details like Theme Name, Author, Description, and Version.Click to reveal answer
intermediate
Why is it important to use semantic HTML and accessibility features in your WordPress theme?
It helps all users, including those with disabilities, to navigate and understand your site better, improving usability and SEO.
Click to reveal answer
What folder should your new WordPress theme be placed in?
✗ Incorrect
Themes go inside the
wp-content/themes folder.Which file must contain the theme header comment with the theme name?
✗ Incorrect
The
style.css file contains the theme header comment.What is the main template file that WordPress uses to display content if no other templates exist?
✗ Incorrect
index.php is the fallback template file.Which of these is NOT a required file to start a basic WordPress theme?
✗ Incorrect
functions.php is optional but useful; only style.css and index.php are required.Why should you use semantic HTML tags in your theme?
✗ Incorrect
Semantic HTML helps screen readers and search engines understand your content better.
Describe the basic files and folder structure needed to set up a WordPress theme from scratch.
Think about where the theme lives and what files WordPress needs to recognize it.
You got /3 concepts.
Explain why accessibility and semantic HTML are important when building a WordPress theme.
Consider who uses your website and how they interact with it.
You got /3 concepts.