Blog

Writing Custom WP-CLI Command

WordPress core comes with a command-line interface (CLI) called WP-CLI. This interface provides commands that allow developers to access and automate various aspects of WordPress from the command line. The benefits of the command line are that it can run and process on a server more efficiently, and can be scripted. However, there are cases where the core commands provided may not be sufficient, or developers may want to accomplish specific tasks. In such cases, WP-CLI enables developers to extend and write custom commands. We have used this feature extensively in various client projects, where bulk operations are required for…

reduce customer cancellations in WooCommerce orders

How to prevent customers from cancelling WooCommerce orders

If you’re running an eCommerce business, you know that managing customer orders is super important. One crucial step in the customer journey is order cancellation, which may vary depending on your business needs. You might even have specific conditions under which an order can be canceled. By default, WooCommerce allows customers to cancel an order if it’s in a pending payment or failed status. Also, pending orders are canceled based on store settings. However, if you’re looking to customize these default settings, WooCommerce has got you covered. In this article, we’ll explore various case scenarios and recommend different solutions based…

lubus-monthly-highlights-february-2024

LUBUS Highlights February 2024

WordCamp Pune We had a fantastic time participating in WordCamp Pune as sponsors, facilitators, and attendees. This year’s WordCamp Pune was different from the usual sessions, as it was a day full of practical, hands-on workshops for participants. Ajit enjoyed the workshop on WP-CLI, while Amit and Sagar learned a lot about accessibility. A glimpse of the team at WordCamp Pune. WP-CLI Workshops and Peer Learning We believe in peer learning and conducting workshops to encourage our team to learn and grow together. Our team usually pairs up during coding challenges and hosts short workshops to facilitate learning. Recently, we…

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…

LUBUS Highlights January 2024

WordPress Sessions in Bangalore Ajit Bohra from the team visited Bangalore for a week to conduct several workshops and meet-ups organized by Team Codewalnut. As passionate Block Editor advocates, we always strive to educate people on how to leverage the WordPress Block Editor to its fullest potential. Ajit confidently shared his expertise on using Block Editor to write content, build pages, and even an entire website, while demonstrating how to set up global styles, and build template parts, templates, and patterns using Full Site Editing (FSE). In the year 2024, there are still doubts and concerns about whether WordPress is…

LUBUS Highlights December 2023

WordCamp Udaipur 2023 Our team had the pleasure of attending WordCamp Udaipur where Ajit Bohra spoke about “Getting Good With WordPress Playground”. We enjoyed the winter weather, and delicious food (especially the hot Parathas), and had great conversations with fellow WordPress enthusiasts both at and outside of WordCamp. It was an amazing experience! WordCamp Ahmedabad 2024 After attending WordCamp Udaipur, we had the opportunity to attend WordCamp Ahmedabad one week later. Ajit Bohra was present at the event and described it as nothing less than a flagship event. The next WordCamp team will make sure to attend this event in…

LUBUS Highlights November 2023

Venturing Into Consulting We have primarily focused on providing solutions to individuals and businesses by training our teams and building solutions for clients. However, we have recently had the opportunity to work with mid to enterprise-level clients, who have approached us for WordPress consulting services. We have onboarded a few clients to start this new offering and are finding it to be an interesting and valuable learning experience. We plan to share more insights on this soon. Bulk Messaging Platform Aside from working with WordPress, we also enjoy using Laravel, and we recently had the opportunity to help an SME…

Experimental Go To Top Plugin For WordPress

We have been strongly advocating leveraging WordPress packages to build plugins and apps. From using them on client projects to side projects we have embraced them as much as possible. We even shared our thoughts on the same at WordCamp Mumbai. As part of constant learning and discovery, we encourage our team to build things they want to. A few months back we were working with one of our client and they had this hard requirement of having a go-to top-button plugin with flexible customization. We vetted a few plugins and thought it was a good opportunity to build something…

wpui

Introducing WPUI, a design pattern library for building React-powered WordPress plugins or apps

As strong supporters of the WordPress Block Editor (aka Gutenberg), we have been early adopters and advocates of this technology. We have spoken about its potential and future at meetups and WordCamps, and have empowered our clients’ editorial experiences. We have also built plugins and extensions that embrace the Block Editor and have seen the huge potential it has as a product and the foundation it is laying down for the next generation of WordPress. We have been following the development and keeping an eye on various packages that were extracted and built. From building and extending blocks, curating editor…

LUBUS Highlights October 2023

This month, the team continued working on things they believed in and built a few side projects to fulfil our internal needs. Tatva We announced project Tatva. It is a custom Web Components library that we are building with few commonly used elements. We polished and pushed one of the elements called ‘Ping’, which allows the addition of a pulse animation element in HTML content with a custom element tag. We are working on a few more and look to make them public soon so stay tuned. WordCamp Mumbai A few of the folks from the team attended WordCamp Mumbai…