In-house plugins
TOFU, TONKATSU and TOBIUO are our own plugins, built on the same idea as the template: settings are registered from theme PHP, and nothing is configured on an admin screen.
| Plugin | Purpose | Used in the theme by | Documentation |
|---|
| TOFU | Forms | settings/forms/, page-contact*.php, form/ | Docs |
| TONKATSU | SEO (meta, OGP, JSON-LD, sitemap, redirects) | settings/seo.php, settings/redirects.php | Docs |
| TOBIUO | Post types, taxonomies, permalinks and archives | settings/post-types/ | Docs |
- Check the documentation for the settings, hooks and template functions instead of guessing.
- Don't edit these plugins in a project. Fix them in their repository and update them in the project.
- The theme keeps working when one of them is inactive. Check with
class_exists() or function_exists() before calling them, as the template does.
Bundled plugins
Plugins we no longer use
| Plugin | Use instead |
|---|
| MW WP Form, Contact Form 7 | TOFU |
| Rank Math SEO | TONKATSU |
| Custom Post Type UI, Custom Post Type Permalinks | TOBIUO |
| Smart Custom Fields, field groups made on the Advanced Custom Fields admin screens | Secure Custom Fields with settings/fields/ |
Choosing a new plugin
Before adding a plugin, check whether its settings can be written in code. A plugin whose settings live only in the database makes the environments drift apart. When a plugin reads a setting from the database but also accepts it from code, set it in code.