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帰属
所属していません wordpress.stackexchange
scroll top