Posted inHooks

Creating your own WordPress hooks

Decades were gone and WordPress is still the most used CMS solution globally. It evolved, of course, settling its market, but in my opinion part of the success can be explained by an old feature – WP hooks. Hooks are specific points with the WP code which allow devs to “hook”, filter or alter anything. […]

Posted inEasy

Boilerplates and plugins, and simpler is always better

Plugin development is key for anyone developing for WordPress. While themes are often created by agencies and web designers, plugins are definitely a programmer’s task. The structure for put up a new plugin in WordPress, and many other CMS platforms, is stupidly simple. All you need is a main file that brings, on top, the […]

Posted inEmails

Plugins that webmasters should never use – SMTP

You’ve been hired as DEVELOPER to put up a company’s website. As the work evolves, you find out emails are not being sent. So you search for a SMTP an install it. Seriously… wouldn’t be that difficult to configure it by yourself. As a remind, WordPress has a built-in hook just for that. That’s nothing […]

Posted inPluginsThemes

Stop using functions.php for coding

Best practices, in spite of their name, are rarely used. When it comes to add any code piece for WordPress, that becomes evident. Perhaps 99% of web designers and even some devs have been widely using the theme’s (or the child’s, for God sake) functions.php to include their own snippets. While this sounds like safe […]

Posted inAssets

CSS: why are you enqueing yet another stylesheet?

WordPress became the world’s largest CMS platform for a bunch of reasons. However, the main reason is certainly the way it can be enhanced with both plugins or code. Most people working for building WP websites nowadays are web designers, rather than fullstack or PHP devs. No problem here, and some of them already use […]