New Order Option for Page Menus From the beginning, you have been able to order the pages displayed in menus using various fields like titles or page order. Now you may also choose to order pages by ascending or descending order. Ordering by descending was previously available using a filter, but now you can select the order in the Pages block or widget. The filter still works, just not needed anymore. Usage is pretty straight forward, but we added documentation anyway. Continued … [Read more...]
Blog
Go Live Update Urls – Version 7.1.2
NodeJS Version 22.21.1 We use NodeJS tools for building the plugin assets as well as running unit tests against the TypeScript code. We updated the underlying node version and packages to support the latest LTS version of NodeJS. ESLint Version 9 Version 9 of ESLint introduces a "flat configuration" system making using multiple configurations at once more intuitive and reliable. Not to mention some new useful rules and plugins. We updated our linting system to use ESLint version 9 … [Read more...]
WordPress-Libs – Version 5.7.0
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...]
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...]