Skip to main content

Plugins

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.

PluginPurposeUsed in the theme byDocumentation
TOFUFormssettings/forms/, page-contact*.php, form/Docs
TONKATSUSEO (meta, OGP, JSON-LD, sitemap, redirects)settings/seo.php, settings/redirects.phpDocs
TOBIUOPost types, taxonomies, permalinks and archivessettings/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​

PluginPurpose
Secure Custom FieldsCustom fields, registered from settings/fields/
All-In-One SecuritySecurity
EWWW Image Optimizer / ImsanityCompressing and resizing uploaded images
Post Types Order / Category Order and Taxonomy Terms OrderOrdering posts and terms by drag and drop
WP-PageNaviPagination
Duplicate PageCopying posts and pages
DuplicatorMoving and backing up the site
WP Multibyte PatchJapanese text handling

Plugins we no longer use​

PluginUse instead
MW WP Form, Contact Form 7TOFU
Rank Math SEOTONKATSU
Custom Post Type UI, Custom Post Type PermalinksTOBIUO
Smart Custom Fields, field groups made on the Advanced Custom Fields admin screensSecure 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.