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

Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a wordpress.stackexchange
scroll top