Creating a custom WordPress admin screen using Gutenberg packages: Part 3 | WordPress Tutorial

Опубликовано: 09 Май 2022
на канале: Ryan Welcher Codes
496
8

In this video, originally streamed on April 21, 2022, we continue the work on our settings screen by completing the datastore and then wiring up the Pre-Publish checklist plugin.

00:00 Intro
00:43 Discussing Thunks
02:37 Making changes to our store
03:17 Updating the getSettings selector
05:13 Adding a resolver for getSettings to retrieve the data from the database
06:15 Adding a control to handle the fetchSettings action.
08:09 Triggering an action from the resolver after the control runs.
09:20 Updating the app to use the datastore to retrieve settings
10:25 Removing the default state from the datastore implementation
11:25 A different way of saving the settings
12:49 Strange error that required pulling in another package to make the datastore work
18:47 Doing some file clean up and fixing everything that breaks
28:18 Creating the plugin that will use the datastore
30:24 Creating multiple entry points with @wordpress/scripts
37:03 Enqueueing the plugin script
42:40 Registering the plugin
45:03 Connecting the plugin to our datastore
47:16 Building out the logic based on the post information
56:00 Requiring a Featured Image
57:35 Requiring a category
58:21 Question about debouncing for performance reasons
01:00:34 Adding some UI to give the user feedback

Music: Philanthrope, mommy - Burgundy https://chll.to/bc9c5cfe

#Gutenberg #WordPressPluginDevelopement #CustomWordPressAdminScreen


Смотрите видео Creating a custom WordPress admin screen using Gutenberg packages: Part 3 | WordPress Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ryan Welcher Codes 09 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 496 раз и оно понравилось 8 людям.