Restrict Network Templates
Restrict the management of templates to a network's main site.
by Happy Prime · github.com/happyprime/restrict-network-templates · website
★ 2stars
13release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/happyprime/restrict-network-templates/releases/download/1.0.0/restrict-network-templates.1.0.0.zipFrom the readme
Restrict Network Templates
Restrict the management of templates to a network's main site.
Description
This plugin should be network activated on a multisite network. When activated:
The list of default template types is filtered to return an empty list.
The /wp/v2/templates endpoint in WordPress returns an empty list.
The WPRESTTemplatesController permissions check is overridden to prevent the update of templates outside of the main site.
This plugin works in tandem with Network Template Parts to provide a framework for a shared look and feel of websites on a multisite network.
Activating this plugin will impact the usefulness of the full site editor in WordPress and will require thinking about the site in parts rather than full templates.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.0.0 | May 3, 2023 | restrict-network-templates.1.0.0.zip | 13 |