In this video, originally streamed on Nov 24, 2022, we start the process of building a custom WordPress plugin to introduce a block variation to the Query Loop block that will provide custom controls to make more complicated queries.
0:00 Intro.
0:48 Scaffolding the plugin.
2:11 Stealing the code from another plugin we built.
4:45 Registering the block variation.
7:17 Enqueueing our JavaScript for the plugin.
8:53 Adding a filter to start inserting custom controls for our variation.
11:38 Renaming the plugin to Advanced Query Loop - the people have spoken!
17:47 Deciding which control to start with.
18:08 Building out the MetaKeyControl.
25:54 Introducing a filter to update the query in the block editor based on the custom controls settings
43:19 Retrieving the list of meta for a post type so we can show/hide the controls.
01:22:15 Introducing some filters for the front end to correctly show the results.
#wordpress #gutenberg #wordpresstutorial #blockvariations #queryloopblock #wordpressplugin
On this page of the site you can watch the video online Building an Advanced Query Loop plugin for WordPress Pt. 1 | WordPress Tutorial | Gutenberg Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Ryan Welcher Codes 16 December 2022, share the link with friends and acquaintances, this video has already been watched 3,536 times on youtube and it was liked by 42 viewers. Enjoy your viewing!