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

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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
scroll top