WordPress and PHP coding

Experiments, tutorials, scripts and possibilities in WordPress, key plugins and pure PHP to those who want to learn more together with us. References to latest changes on WordPress codex, classes and libraries built to help you coding better and a few tutorials and discussions useful for those who live WP daily.


Headless wordpress and why it mostly doesn’t make any sense

Well, a simple search in the web nowadays and you can find thousands of tutorials about using WordPress in a headless way. As modern as it sounds, the very conception of WP goes against this approach. Look, a system is just as good as the use we make of it. WordPress, limiting our analysis to its PHP architecture, is a heavy and complete CMS design in a procedural way. The reason is quite simple: at […]

WordPress 5.8 – template editor can be a game changer

WordPress 5.8 will ship with the new template editor. Like Elementor and some other editors, this can be a game changer not only for designers – but especially for devs. It is a step towards creating a full site editing tool using the block editor, which means you can expect it to get better with future releases. After complex integrations and plugin/module development jobs, I can certainly say: building templates for apps is a pain […]

How to async or defer JS to make Google happier

SEO gurus and website owners became paranoid with Page Insights’ issues lately. Although most of them simply refuse to understand how a 100% optimization may affect the number of features they still want their sites to show, they keep asking devs to fix them all. When it comes to WordPress websites, particularly those using sophisticated plugins, deferring or running JS asynchronously sometimes prevent snippets, blocks or even entire pages to render properly. Yes, we can […]

WP-CLI: first steps on WordPress’ command line tools

Before any trend of using Composer, NPM, Yarn or any other command line tool within WordPress’ themes and plugins development, devs have already been using a set of command line tools which had been particularly designed for managing WP instances. WP-CLI is a command line tool which is extensible, comprehensive and easy to use. Even for tasks like plugins’ updating, reinstalling the WP core or optimizing the database, it should be the first option for […]

Best and worst builders for WP developers

Website builders and block editors are consolidated within WP community. And even for devs, losing time with layouts is useless when you cancache just build templates in minutes. So, if using them is key, how can devs choose the best option? Well, excluding the UI characteristics, we should always look for three aspects: Possibilities of extending features Documentation Interference with the rest of the code By all means, if any builder may harm or crash […]