The WordPress SlotFill System
Plugin examples for my Extending WordPress using the SlotFill system talk
by Ryan Welcher · github.com/ryanwelcher/the-gutenberg-slotfill-system · website
★ 45stars
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ryanwelcher/the-gutenberg-slotfill-system/archive/refs/heads/trunk.zipReadme
The WordPress SlotFill System
This repository contains working example of all of the existing SlotFills available in WordPress as of version 6.6.
Common Slots Available in the Post Edit Site Edit Screens
- PluginPostStatusInfo
- PluginPrePublishPanel
- PluginPostPublishPanel
- PluginMoreMenuItem
- PluginBlockSettingsMenuItem
- PluginSidebar
- PluginSidebarMoreMenuItem
- PluginDocumentSettingPanel
Slots Available in the Site Edit Screen Only
- MainDashboardButton Marked as experimental
Local Development
Run the setup command to install all dependencies and do an initial production build.
npm run setup
Build Commands - compiles once.
npm run build
Watch Commands - compiles when files are changed.
npm run start
Start the local development environment.
wp-now
npm run wp-now start --blueprint=./wp-now.json
wp-env
npm run env start