In this session I'll try to solve some of the challenges proposed by Igor Benić at https://wpchallenges.beehiiv.com/.
The challenge addressed in this session is:Create a block that fetches and displays posts from a specific category dynamically (using ServerSideRender component).
https://wpchallenges.beehiiv.com/p/wp...
A compilation of the resources used during the session are available at:
https://github.com/juanma-wp/streams/...
The code of the project worked in the session is available at:
https://github.com/juanma-wp/streams/...
#stream #english
05:53 Introduction to WordPress Development Challenges Website
07:44 Setting up Local WordPress Development Environment
11:10 Exploring Tool Features for Local WordPress Development
14:42 Creating and Configuring Local WordPress Site
20:42 Explanation of Block Functionality and UI Requirements
20:58 UI Component Overview for the Sidebar Control
20:30 Scaffolding a Block Plugin with Create Block
22:55 Reviewing and Simplifying Block Plugin File Structure
31:56 Understanding Plugin Dependencies and Build Processes
36:23 Registering and Rendering Blocks Dynamically in PHP
41:56 Testing and Debugging Dynamic Block Rendering
48:35 Accessing and Using the WordPress REST API for Dummy Content
55:17 Implementing Sidebar Dropdown to Select Categories
01:16:46 Rendering Server-side Posts within Block Editor
01:18:18 Fetching Categories from REST API and Improving Block with useEntityRecords