Homepage

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.

RECENT

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. This is particularly useful when you are developing plugins and even themes. Hooks provide a simple way of change or […]

Problems while migrating WP websites? Here are the solutions

Migrating WordPress websites is something that happens all the time. Either because it needs to move to a new host or motivated by downtimes and malicious attacks, any webmaster has already needed to proceed a migration at least once. However, no matter how good those migration plugins become, we are still facing issues here and there. Well, so let’s talk about the most common issues on that and how to solve them easily. URLs can […]

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 plugin info as a comments section. Having that said, by browsing Github it is possible to find uncountable boilerplates and […]

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 to do with any “devs pride”. You know, as developer, that most plugins bring a lot of crap on top […]

“Why my WordPress is so slow?” – here’s why

WordPress has been around for almost 20 years and never stopped evolving. If we took a look within the original code, that’d prove to be completely different than the current. Whether you like it or not, as a dev or even web designer you must agree: there is no comparison with any CMS from that same era. Drupal, Joomla, Typo3 and many others. They are still evolving and releasing new versions here and there, but […]

more

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 […]