Punit Verma

Adding a Default Block Appender in WordPress Block Editor

Introduction In this blog post, let’s explore how to add a default block appender to the WordPress block editor. Have you ever wondered how you can make editing more seamless? By using WordPress hooks and the wp.data and wp.blockEditor APIs, we can enhance the way we work with blocks. We’ll discuss how to identify the last block in the editor. Then, we’ll show you how to display a block appender right after it. This simple addition can significantly improve your editing experience. Are you ready to make editing smoother and more intuitive? Let’s dive in. What is a Block Appender?…

Extending the Query Loop Block: Creating a Custom “Most Popular” Variation

We’ve been early adopters of the Block Editor/Gutenberg and have been using it in various ways. As part of our internal streamlining process, we’ve been shifting towards block-based solutions. As a result, we’ve been transferring multiple client projects to blocks, which has been a really interesting learning journey for us. It’s been a blast pushing the limits and discovering all that we can achieve with blocks. Currently, we’re working on an exciting client project, helping them make the switch from a hybrid theme to a block-based theme. Their website relies on custom queries to feature content on the homepage, including…

Simplifying Database Seeding in Laravel with iSeed

If you’re a Laravel developer, you know how important database seeding is for quick setup of initial data during testing and development. But, managing seed data can be tricky, especially when updating individual tables without affecting the entire database. That’s where the iSeed package comes in – it simplifies the process by automating the generation of seeder files for individual tables. Recently, we worked on a client project that involved developing a system to store crucial data about users, including user profiles, authentication credentials, and permissions. However, during development, we faced a challenge of modifying the structure of the user…