Bird
0
0

Which of the following is the correct syntax to specify the theme version in the style.css metadata block?

easy📝 Syntax Q3 of 15
Wordpress - Theme Structure and Basics
Which of the following is the correct syntax to specify the theme version in the style.css metadata block?
ATheme_Version: 1.0.0
BTheme Version = 1.0.0
CThemeVersion: 1.0.0
DVersion: 1.0.0
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct metadata field names

    The correct field name for version in WordPress theme metadata is Version followed by a colon and the version number.
  2. Step 2: Check syntax formatting

    The format is Version: 1.0.0. Other variations with underscores, equals signs, or concatenated words are invalid.
  3. Final Answer:

    Version: 1.0.0 -> Option D
  4. Quick Check:

    Version field syntax = Version: x.x.x [OK]
Quick Trick: Use 'Version:' exactly to specify theme version [OK]
Common Mistakes:
  • Using 'Theme Version' instead of 'Version'
  • Using '=' instead of ':'
  • Adding underscores in field name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes