Arne De Belser
Arne De Belser
  • 17
  • 9 621
Creating a Mega Menu using the WordPress 6.5 – Deep dive into the power of the Interactivity API
In this video, we dive into the exciting world of WordPress 6.5's Interactivity API and explore its potential by creating a dynamic mega menu from scratch. The inspiration for this video came from Nick Diego's concept, which I stumbled upon on Twitter.
Throughout the video, I'll guide you through each step of the process, breaking down complex concepts into digestible segments.
By the end of this video, you'll have a deep understanding of how to leverage the WordPress 6.5 Interactivity API to create dynamic mega menus that captivate your website visitors.
Stay tuned, subscribe and like the video!
Twitter Post “Nick Diego”:
nickmdiego/status/1760288390342496718
Post about it from Nick:
nickdiego.com/experimenting-with-block-based-mega-menus/
Github repo “Nick Diego”:
github.com/ndiego/mega-menu-block
Github repo:
github.com/ArneDeBelser/mega-menu-block
00:00 Introduction
00:43 Showcasing end result (example)
04:05 Run command to scaffold block
04:38 Edit block.json
06:28 Add custom menu template part
07:37 Fix typo registering custom menu template part
08:34 Explanation how WordPress block development works
09:16 Explain Edit.js
10:19 Install icon library
10:26 Setup all attributes and variables in Edit.js
11:20 Run watcher with “npm start”
11:34 Explain site URL
11:57 Fix site URL, should be function
12:15 Write Edit.js boilerplate
14:40 Explain and add InspectorControls
16:46 Create rendered div in Edit.js
17:29 Add all the “.scss” (css) files
17:54 Configure index.js - this is the JavaScript entry file
18:22 Create render.php
22:01 Creating state in View.js
23:05 Add “actions” and explain how the menu opens and closes
25:28 Add callback “initMenus”
25:43 Outro
#WordPress,#WebDevelopment,#InteractivityAPI,#MegaMenu,#WebsiteDesign,#Tutorial,#DeveloperTips,#WebDesign,#Coding,#OpenSource,#WordPressDevelopment,#UserExperience,#FrontendDevelopment,#JavaScript,#CMS,#TechTutorial,#Programming,#WebDevelopmentTips,#DigitalMarketing,#OnlineLearning
Переглядів: 1 730

Відео

Creating a custom Elementor Popup trigger with PHP and JavaScript
Переглядів 3245 місяців тому
In this tutorial, I'll guide you through the process of creating a powerful customization - your very own popup triggers based on the active language in Polylang. 💻🌐 🔍 Dive deep into the code as we explore how to show or hide popups dynamically, tailored to the language your visitors are experiencing. No more generic popups-make your content relevant and targeted. 🔧 We'll dissect the process st...
🚀 Building a Crypto Polling Bot Tutorial - Part 2/3: The Exchange 🚀
Переглядів 209 місяців тому
Welcome back to the second part of our comprehensive three-part series on creating a Crypto Long Polling Bot using JavaScript and ECMAScript 6! In this episode, titled "The Exchange," we'll take our bot to the next level by integrating it with popular crypto exchanges to fetch real-time market data. 🤖📈 📺 Video 2: In this installment, we will delve into the exciting world of crypto exchange APIs...
🚀 Building a Crypto Polling Bot Tutorial - Part 1/3: Creating the Foundation 🚀
Переглядів 639 місяців тому
Welcome to the first installment of our comprehensive three-part series on creating a Crypto Long Polling Bot using JavaScript and ECMAScript 6! 🤖💹 📺 Video 1: In this episode, we dive into the fundamentals of building your own crypto bot. Whether you're a seasoned developer or a beginner in the world of cryptocurrency, we've got you covered. 🔗 In this video, you will learn: 📌 Setting up the ess...
Building an Elementor Heatmap Widget from scratch
Переглядів 217Рік тому
In this step-by-step tutorial, we'll show you how to build a powerful heatmap widget using Elementor, OpenStreetMap, Leaflet, Leaflet heat, and Papa Parse. With this widget, you'll be able to create stunning maps that display the distribution of data points in a visually engaging and interactive way. Whether you're looking to showcase the location of your store branches, visualize customer beha...
Building a WordPress Caching Preloader from Scratch - Full Advanced Tutorial
Переглядів 125Рік тому
In this tutorial, we'll walk you through the creation of a basic cache preloader plugin in WordPress using PHP. While this plugin can help improve the performance of your site by preloading and caching pages, it is important to note that this example is not ready to be used in production. Instead, it is intended for learning purposes only, to demonstrate the advanced concept of a cache preloade...
Building a WordPress Caching Plugin from Scratch - Full Advanced Tutorial
Переглядів 449Рік тому
In this tutorial, we will build a caching plugin for WordPress from scratch. We will start by creating a settings page in the WordPress admin, where we can enable or disable the caching functionality. Next, we will add hooks to cache the page and save the cached output to disk. We will also add a method to clear the cache and display a link in the admin top bar menu. Finally, we will modify the...
How to Create a Live Chat Widget in Elementor (JS, PHP) - Advanced Tutorial
Переглядів 521Рік тому
In this tutorial, I'll show you how to create a live chat widget in Elementor using code, JavaScript, and PHP. Whether you're a developer looking to enhance your web development skills or a newcomer to Elementor, you'll learn valuable techniques to create a powerful live chat feature for your website. I'll walk you through the entire process step-by-step, from setting up the code to integrating...
Make Themes/Plugins Polylang Compatible - Quick Tip
Переглядів 570Рік тому
In this UA-cam video, you'll learn how to make any WordPress theme or plugin compatible with Polylang, a popular plugin used for website localization and translation. The quick tip provided in this video will help you overcome the frustration of not being able to translate certain plugin or theme strings because they are not registered in Polylang by the author. You'll discover a way to make Po...
Delivery & Pickup Plugin - Creating Admin Order View (Ch 6)
Переглядів 103Рік тому
In this chapter we will be creating the admin order view, the data should be available to our admins. 00:00 Add meta data to admin order view Source Code: github.com/ArneDeBelser/delivery-and-pickup #woocommerce #delivery #pickup #plugin #webdevelopment #ecommerce #wordpress #coding #php #tutorial #setupguide #backend #frontend #codingtips #codingbestpractices #webdev #programming #websites #co...
Delivery & Pickup Plugin - Woocommerce Package Rates (Ch 5)
Переглядів 63Рік тому
In this chapter we will be implementing everything regarding package rates. We will learn about the ‘woocommerce_package_rates’ hook and how to use it to reflect the user’s choice in the front-end. In this chapter we will be writing all the Javascript for the front-end functionality. We need our front -end to be able to talk to our back-end and we do this via AJAX calls. We will also make our s...
Delivery & Pickup Plugin - Field Validation Rules (Ch. 4)
Переглядів 38Рік тому
In this chapter we will be writing all the validation logic. This will make sure that no faulty data will enter our application and that users can not fizzle with the inputs. 00:00 Writing the field validation rules 05:51 Add the meta data to the order object Source Code: github.com/ArneDeBelser/delivery-and-pickup #woocommerce #delivery #pickup #plugin #webdevelopment #ecommerce #wordpress #co...
Delivery & Pickup Plugin - Configuring Front-end (Chapter 3)
Переглядів 114Рік тому
In this chapter we will be putting all the things together so that all the required checkout fields are showing. This includes a radio select where the user can choose between delivery & pickup. We will also add the respective location & date field. We will also learn how to implement the jQuery datepicker. We will also write all the javascript to conditionally show the right fields depending o...
Delivery & Pickup Plugin - Starting Boilerplate (Chapter 2)
Переглядів 162Рік тому
In this chapter I’m going to initialize the plugin structure from a boilerplate generator. This makes the process a bit faster since we don’t have to write all the boilerplate code ourselves. 00:00 Downloading the boilerplate code 01:02 Quick explanation of the boilerplate code Source Code: github.com/ArneDeBelser/delivery-and-pickup #woocommerce #delivery #pickup #plugin #webdevelopment #ecomm...
Delivery & Pickup Plugin - Rundown of Building (Chapter 1)
Переглядів 329Рік тому
In this chapter we’ll go over the functionality which we are building. We will be building a pickup and delivery plugin for Woocommerce. This plugin will give the user the ability to select between delivery and pickup. In the case of delivery, a date field will be shown. In case of pickup the user will be able to choose from a list of pickup locations. This tutorial covers a wide variety of adv...
Creating a custom elementor widget with PHP and Javascript
Переглядів 2,3 тис.Рік тому
Creating a custom elementor widget with PHP and Javascript
How to use action hooks - WordPress action hook tutorial
Переглядів 2,5 тис.4 роки тому
How to use action hooks - WordPress action hook tutorial