0
0
Wordpressframework~10 mins

Style.css and theme metadata in Wordpress - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start a WordPress theme style.css with the theme name.

Wordpress
/*
Theme Name: [1]
*/
Drag options to blanks, or click blank then click option'
AMy Custom Theme
Bstyle.css
Cfunctions.php
Dindex.php
Attempts:
3 left
💡 Hint
Common Mistakes
Using file names instead of a theme name
Not placing the theme name inside the comment block
2fill in blank
medium

Complete the code to add the theme author in style.css metadata.

Wordpress
/*
Theme Author: [1]
*/
Drag options to blanks, or click blank then click option'
AGPLv2
B1.0.0
C2024
DJane Doe
Attempts:
3 left
💡 Hint
Common Mistakes
Putting version numbers or years instead of author name
Leaving this field blank
3fill in blank
hard

Fix the error in the style.css metadata to correctly specify the theme version.

Wordpress
/*
Version: [1]
*/
Drag options to blanks, or click blank then click option'
Aone
B1.0.0
Cv1
Dversion1
Attempts:
3 left
💡 Hint
Common Mistakes
Using words instead of numeric version
Adding extra letters or prefixes
4fill in blank
hard

Fill both blanks to add theme URI and description metadata.

Wordpress
/*
Theme URI: [1]
Description: [2]
*/
Drag options to blanks, or click blank then click option'
Ahttps://example.com/theme
BA modern responsive theme
CMy Theme
D1.0
Attempts:
3 left
💡 Hint
Common Mistakes
Using theme name as URI
Putting version number as description
5fill in blank
hard

Fill all three blanks to add license, license URI, and text domain metadata.

Wordpress
/*
License: [1]
License URI: [2]
Text Domain: [3]
*/
Drag options to blanks, or click blank then click option'
AGPLv2 or later
Bhttps://www.gnu.org/licenses/gpl-2.0.html
Cmytheme
DMIT
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect license names
Wrong or missing license URI
Text Domain not matching theme folder