Let’s Build Our First Plugin!
summary
Builds a working notification bar plugin for WordPress end-to-end: creates plugin folder and header PHP file, adds a settings page via Settings API with text, position (top/bottom) and sticky options, saves an options array with get_option/register_setting, injects output on wp_footer, enqueues a notifications.css stylesheet, and adds a customizer live preview control. Demonstrates debugging with Query Monitor/Xdebug and publishes code on GitHub; the bar displays and toggles top/bottom and sticky as shown.
AI-written summary · about
chapters (22)
- 0:00Intro
- 1:43My Talk Rocks
- 3:55Create Plugin File
- 8:10Create Settings Page
- 10:06Add SubMiniPage
- 11:30Create NotificationsBar
- 13:03Translate Text
- 18:45Inputs
- 21:22Display Notification Bar
- 23:36Create Style Sheet
- 25:14Styling
- 27:00CSS
- 27:54Settings Field
- 29:40WordPress Settings API
- 32:09WordPress Customizer
- 44:34Plugin Repository
- 45:23Debugging
- 46:32Query Monitor
- 48:12Retire a Plugin
- 48:34Plugin Tags
- 49:34WordPress Core Contributors
- 50:20Is Having More Plugins Slowing Your Site
