Creating pluggable and extendable templates
Templates can be categorized into several types based on their functionality. Each of these types of templates plays a different role within complex applications. Proper combination of these template types can result in highly maintainable and reusable applications. Let's explore the functionality of various template types.
The simplest type of template contains the complete design for each and every screen in the application. These types of templates are not reusable. We can also have template parts that get included into some other main templates. These types of templates are highly reusable across multiple other templates. The header and footer are the most common examples of such templates.
Pluggable ...
Get WordPress Web Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.