Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josephfusco/template-usage
Display info on what page templates are currently being used within a WordPress multisite.
https://github.com/josephfusco/template-usage
multisite page-template wordpress wordpress-multisite wordpress-plugin
Last synced: 20 days ago
JSON representation
Display info on what page templates are currently being used within a WordPress multisite.
- Host: GitHub
- URL: https://github.com/josephfusco/template-usage
- Owner: josephfusco
- License: gpl-2.0
- Created: 2019-08-05T16:16:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T17:03:12.000Z (over 5 years ago)
- Last Synced: 2024-10-16T01:15:10.197Z (about 1 month ago)
- Topics: multisite, page-template, wordpress, wordpress-multisite, wordpress-plugin
- Language: PHP
- Size: 17.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Template Usage
[![Packagist](https://img.shields.io/packagist/v/josephfusco/template-usage.svg?style=flat-square)](https://packagist.org/packages/josephfusco/template-usage)
Display info on what page templates are currently being used within a WordPress multisite.
## Usage
1. Download & network activate this plugin.
2. Go to the "Template Usage" network admin page.
3. Choose a theme to display all available page templates for all sites that have that theme activated and click "Select".Note that page templates that are added via plugins will also be listed for the sites using the selected theme.
## Internationalization
For the text in the plugin to be able to be translated easily the text should not be hardcoded in the plugin but be passed as an argument through one of the localization functions in WordPress.
[How to Internationalize Your Plugin →](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/)
This plugin contains a ready to go `.pot` can be found within `languages/`. This file can be updated using the following command:
```sh
npm run i18n
```## License
This plugin is licensed under [GNU General Public License v2 (or later)](./LICENSE).