Network Template Parts
When managing a brand across many sites, it is often necessary to ship changes to the look and feel with the certainty that they will be applied immediately.
Envisager une alternative
Network Template Parts shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 2 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 2 ans
- Uniquement testé jusqu'à WordPress 6,7 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Network Template Parts stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| multisite | >100 |
| site editor | >100 |
| modèles | >100 |
Adoption de version
Part de sites actifs par version.
About Network Template Parts
À partir du Lisezmoi officiel · v1.0.4Description
When managing a brand across many sites, it is often necessary to ship changes to the look and feel with the certainty that they will be applied immediately.
In its current iteration, the WordPress site editor allows individual site administrators to make changes to a theme’s templates and template parts. Once a template or a template part has been edited on an individual site, it no longer receives updates from the theme automatically, which may in turn cause unintended consequences.
This plugin provides a way for site administrators to edit parts of the site without accidentally overwriting pieces that should remain consistent.
Network Template Parts works in tandem with Restrict Network Templates, which restricts the editing of templates on individual sites.
Assumptions
Templates provided by the theme should not be edited.
A theme’s core structure is defined by templates. (e.g. templates/home.html)
It should be possible to set a structure in these templates and assume that they will not be overridden on individual sites.
Network-level template parts are managed by network administrators.
Parts of a theme’s structure rely on data from the main site on a network. (e.g. global navigation)
It should be possible for a template to specify that a section of a page is rendered in the context of the main site.
Site-level template parts are managed by site administrators.
Parts of a theme’s structure rely on data from individual sites on a network. (e.g. site navigation, content)
It should be possible to override site-level template parts from an individual site.
Bloc
The Network Template Part block renders a selected template part in either a “site” or “network” context.
Attributes:
slugdetermines which template part to load. Template parts are located in a theme’sparts/directory.contextdetermines the context in which the part should render.
Exemples
Often, a network will provide common header and footer areas while leaving the site content between to site administrators. With Network Template Parts, this can be accomplished as so:
A templates/index.html file may contain:
<!-- wp:ntp/network-template-part {"slug":"header","context":"network"} /-->
<!-- wp:ntp/network-template-part {"slug":"main-index","context":"site"} /-->
<!-- wp:ntp/network-template-part {"slug":"footer","context":"network"} /-->
>
This loads parts/header.html from the main site on the network, parts/main-index.html from the current site, and parts/footer.html from the main site on the network.
The parts/header.html file main contain:
<!-- wp:ntp/network-template-part {"slug":"header-top","context":"network"} /-->
<!-- wp:ntp/network-template-part {"slug":"header-main","context":"network"} /-->
>
This defines two areas in the header to be managed at the network level. The parts/header-main.html may contain something like:
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:group {"tagName":"header"} -->
<header class="wp-block-group">
<!-- wp:ntp/network-template-part {"slug":"header-main-network-logo","context":"network"} /-->
<!-- wp:ntp/network-template-part {"slug":"header-main-site-navigation","context":"site"} /-->
</header>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
>
This provides some common HTML structure, loads a network-level logo, and also provides a site-level navigation in parts/header-main-site-navigation.html.
Now, an individual site administrator can make changes to a navigation menu while also receiving updates from the theme and the network if the look and feel of the broader network changes.
Journal de modifications
1.0.4
- Confirm WordPress 6.6 compatibility.
- Raise minimum supported WordPress to 6.3.
- Update
block.jsonAPI version to 3. - Improve build tooling, coding standards.
- No functional changes.
1.0.3
- Adjust deployment scripting.
1.0.2
- Update
@wordpress/scriptsdependency to 26.8.0. - Include built files so that the block actually works.
1.0.1
- Update
@wordpress/scriptsdependency to 26.6.0. - Add POT file.
- Initial wp.org release.
1.0.0
- Consolidate into one block: Network Template Part.
- Add “context” attribute.
0.1.1
- Provide a select interface for site and network template parts.
- Improve plugin documentation.
- Update
@wordpress/scriptsdependency to 26.3.0.
0.1.0
Communiqué initial
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Network Template Parts alternatives
Tous les plugins multisites →FAQ
Network Template Parts: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Network Template Parts free?
Yes. Network Template Parts is free to download and use from the official WordPress.org plugin directory.
Is Network Template Parts safe to use in 2026?
Network Template Parts shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 2 years ago, and scores 23/100 on our health check.
How many websites use Network Template Parts?
Network Template Parts is active on 10+ WordPress websites and has been downloaded 1,486 times since it launched in June 2023. It was downloaded 59 times in the last 30 days.
Does Network Template Parts work with WordPress 7.1?
Network Template Parts is officially tested up to WordPress 6.7.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Network Template Parts need?
Network Template Parts requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Network Template Parts last updated?
The latest version, 1.0.4, was released on November 6, 2024 (2 years ago).
Who makes Network Template Parts?
Network Template Parts is developed and maintained by Happy Prime.
What are the best alternatives to Network Template Parts?
The most popular alternatives to Network Template Parts are Code Snippets (1M+ installs), User Switching (200K+ installs) and Disable Comments (100K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
