Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Building a Dynamic Block for WP List Categories function in WordPress в хорошем качестве

Building a Dynamic Block for WP List Categories function in WordPress 3 месяца назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Building a Dynamic Block for WP List Categories function in WordPress

In this video I show you a Dynamic Block for listing WP Categories in any registered taxonomy on your WordPress website. Summary The video script explains how to create a custom block for listing categories in WordPress using PHP functions within the block editor. Github reference: https://github.com/MRKWP/wp_list_cate... Chapter Markers 00:10 Intro 00:48 How the WP Category Block works. 02:12 wp_list_category function 03:35 Adding the WP Category Block to a page/post. 04:21 Code setup on GitHub 07:14 Block attributes inside the block.json file. 09:16 Setting up the edit functions inside Edit.js 14:43 Mapping block attributes to the render.php file. 16:10 Debugging the block attributes with Query Monitor 17:31 Adding other attributes to the block. 20:48 How to see the block attributes inside Query Monitor logs 22:08 Conclusion Highlights Building a custom block for listing categories in WordPress 🛠️ Using PHP functions within the block editor to create custom blocks 🖥️ Explaining the process of registering and rendering the custom block ⚙️ Demonstrating the use of attributes and controls in the block editor 🎛️ Showcasing the flexibility of adding additional features to the custom block 💡 Providing insights on debugging and testing custom blocks for functionality 🧪 Encouraging viewers to experiment with creating their own custom blocks in WordPress 🧩 Key Insights The video showcases the step-by-step process of creating a custom block for listing categories in WordPress, offering valuable insights into using PHP functions effectively within the block editor. 📝 By explaining the registration, rendering, and customization of attributes in the custom block, viewers gain a comprehensive understanding of the technical aspects involved in developing a functional block. 🔍 The demonstration of controls, such as text fields, toggles, and select dropdowns, highlights the versatility of custom blocks and the ability to tailor them to specific requirements. 🎨 The emphasis on debugging and testing custom blocks underscores the importance of ensuring functionality and troubleshooting any issues that may arise during the development process. 🔧 Encouraging viewers to experiment with creating their own custom blocks fosters a hands-on approach to learning and inspires creativity in leveraging WordPress’s block editor capabilities. 🌟 For more help like this check out my website: https://www.mrkwp.com ================================= My Favourite WordPress tools: Kadence Theme https://bit.ly/42M9u74 Kadence Blocks Pro https://bit.ly/42INdXI Kadence Pricing https://bit.ly/49oWvdZ The Event Calendar https://bit.ly/3UKQio3 Blocksy Theme https://bit.ly/32UQSHx WP Stackable Blocks https://bit.ly/3eY2VGh Astra Theme https://bit.ly/3eXzIeM WP Rocket https://bit.ly/3pXODf3 Gravity forms https://bit.ly/3sZlimF My Favourite WordPress hosts: Spinup WP ( get $50 on signup ): https://bit.ly/48ERe0B WP Engine https://bit.ly/3eTQR9d Cloudways https://bit.ly/48skhFV Please note these are affiliate links and I get a small kick back from these websites if you make a purchase. We do not do sponsored content and my thoughts are my own. By purchasing with these links you are supporting my channel to create more helpful content.

Comments