Is there a name for trivial WP PHP files like functions.php, archive php entry.php, page.php and so forth?

wordpress.stackexchange https://wordpress.stackexchange.com/questions/290198

Question

Is there a name for trivial WP PHP files like functions.php, archive php entry.php, page.php and so forth?

Is there a "category" (in the general sense of the term) they all fall into?

I want to know how to name them so I could read about them so I could figure our which of them is actually mandatory in the latest versions of WordPress.

Was it helpful?

Solution

They don't have a special name, they are just theme / template files. If you want to read more about them in general, see template files in the codex. The template hierarchy is also something you'll need to know about, it explains what file gets chosen when.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top