WordPress page templates control layout while pages store content — understanding this separation is key to avoiding common editing mistakes. Classic themes use PHP template files (page.php, page-about.php, named templates with Template Name headers), while block themes use HTML block templates managed through the Site Editor. The template hierarchy loads the most specific matching template first, falling back to more general ones. Custom templates can be created for reuse across pages or targeted to specific slugs/IDs. ACF extends this system by supplying structured custom field data, custom post types, and ACF Blocks that integrate with both classic and block-theme templates. The guide also covers troubleshooting missing template dropdowns and how page builders interact with the native template system.

12m read timeFrom advancedcustomfields.com
Post cover image
Table of contents
What WordPress page templates control and what they don’tClassic themes and block themes use different template systemsHow the template hierarchy decides which file loadsHow to create a custom page template in a classic themeHow to build and edit templates in the Site EditorAssigning a template and fixing the dropdown when it’s emptyExtending templates to custom post types and populating them with ACFTaking your templates furtherWordPress page templates FAQs
4.1K Impressions