Wordpress - Theme Structure and BasicsWhy might WordPress use index.php instead of category.php when displaying a category archive?AThe category archive is disabled in WordPress settingsBindex.php has higher priority than category.phpCcategory.php file is missing from the themeDcategory.php is only for single postsCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand fallback behaviorIf category.php is missing, WordPress falls back to archive.php or index.php.Step 2: Identify reason for fallbackMissing category.php causes WordPress to use index.php as last fallback.Final Answer:category.php file is missing from the theme -> Option CQuick Check:Missing category.php causes fallback to index.php [OK]Quick Trick: Missing template files cause fallback to index.php [OK]Common Mistakes:Thinking index.php has higher priorityAssuming category archives can be disabledConfusing category.php purpose
Master "Theme Structure and Basics" in Wordpress9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Wordpress Quizzes Content Management - Creating and editing posts - Quiz 15hard Content Management - Why content types matter - Quiz 8hard Content Management - Featured images - Quiz 7medium Themes and Appearance - Site identity and branding - Quiz 10hard Themes and Appearance - Site identity and branding - Quiz 9hard WordPress Basics and Architecture - Why WordPress powers the web - Quiz 10hard WordPress Basics and Architecture - WordPress.org vs WordPress.com - Quiz 14medium WordPress Basics and Architecture - Dashboard navigation - Quiz 13medium WordPress Basics and Architecture - First WordPress site - Quiz 15hard WordPress Settings and Configuration - User roles and permissions - Quiz 4medium