0
0
Wordpressframework~5 mins

Theme from scratch setup in Wordpress - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
Awp-content/themes
Bwp-content/plugins
Cwp-includes
Dwp-admin
Which file must contain the theme header comment with the theme name?
Aindex.php
Bfunctions.php
Cheader.php
Dstyle.css
What is the main template file that WordPress uses to display content if no other templates exist?
Asingle.php
Bindex.php
Cpage.php
Darchive.php
Which of these is NOT a required file to start a basic WordPress theme?
Astyle.css
Bindex.php
Cfunctions.php
Dnone of the above
Why should you use semantic HTML tags in your theme?
ATo improve accessibility and SEO
BTo make the site load faster
CTo reduce CSS file size
DTo avoid using JavaScript
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.