Version 5.7.0 of our WordPress Libs library is now available and ready for general use. This version focused on dialing in the theme resources system and reducing friction when external projects implement unit testing. New DI Container for Singleton Instances Historically all instances of singleton classes within the library were stored as a static variable within the object itself. This made setting up and using singleton classes simple and quick but had 1 important trade-off. Locally … [Read more...]
Blog (page 2)
Using AI in WordPress Development
Here at OnPoint Plugins we embrace the AI revolution as a way to increase our abilities and productivity. We were early adopters. After a couple of years of daily use, we are ready to share some experience and expertise of using AI to develop WordPress plugins. We do not use AI to write any of our website content or plugins. Everything, including this article, is still written by a human. Model Overload The AI world feels like a sea of endless AI model options which are always … [Read more...]
Advanced Sidebar Menu – Version 9.9
Block Registration Size Reduction: Phase 1 The Gutenberg block system required you to register information for blocks on both the PHP and JavaScript side for attributes and other items to work correctly. The common way to solve this requirement is to use a block.json file to hold all registration information then parse this block.json file in both PHP and JS when the editor loads. Despite the obvious performance issues with parsing JSON on every request, we fundamentally avoid this … [Read more...]
Go Live Update Urls – Version 7.1
New Progress Bar on update Command All runs of the update command will now provide feedback on the progress of the updates. Having feedback is particularly useful on very large sites. Following a similar UX from making updates on the tools page, a progress bar is now displayed while the update command runs. If the --quiet flag is passed, the progress bar will still display, although it will not be included in the final output when piping the result to a file or another … [Read more...]
Advanced Sidebar Menu – Version 9.8
Version 9.8 of the Advanced Sidebar Menu plugin is now available and ready for general use. This version brings enhancements to the block style section interactions. Saving of Open State When working with block styles, it is common to work with particular style sections while rarely changing others. Back in version 9.7, we added support for collapsing style sections to provide a tighter focus on the styles being changed. Now with version 9.8, closing a section will persist the … [Read more...]
Exporting (dumping) a WordPress Database
When submitting a support request for a WordPress plugin, one of the things you will commonly be asked for is a database dump of your site. A database dump allows the support technician to load your data into a test site to receive insight about the state of your particular site. Having a database dump provides an enormous amount of information to make support responses not only faster but more accurate. WordPress and PHP provide several processes for exporting a database dump. We're going to … [Read more...]