In this series of articles, we’ll be automating server (VPS) configuration with the help of Ansible, an open source IT automation platform. Interested in not having to install and set up Apache/Nginx, PHP and MySQL with WordPress on your VPS servers manually? Then read more! But first, let me tell you a short story of […]
I had a need to implement custom routing system in my WordPress theme. I’m developing a web application, not a typical theme. There is a predefined set of pages in the app and each of them has its own view (template). Ideally, the design and structure (HTML/CSS) of these templates are located in files, not […]
In the WordPress world, things move and evolve quickly. Tens — sometimes hundreds — of new issues pop up each day. Modifications to WordPress Core happen on daily basis. The community is vibrant, doing something all the time. That’s good. What’s even better is to start following these changes. You could become a better WordPress […]
For my upcoming WordPress-based web application I need to create a nice design of its front-end. The first step is to wireframe the site so you have a basic idea of its layout. After that, the wireframes are transformed into a usable and appealing design. Nowadays, there are plenty of HTML/CSS frameworks which can constitute […]
Logging and error reporting are parts of a debugging process. For some programmers, putting define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); define(‘SAVEQUERIES’, true); define(‘SCRIPT_DEBUG’, true); in the wp-config.php file is the end of the story. Let’s discuss how we can improve the debugging process of our WordPress-based web app.
Are you profiling your WordPress-based web application/site with xhprof? Go read my other article about how to install and configure xhprof profiler with WordPress. Even if you are already familiar with xhprof, there is a small but important problem: the profiling results are unnecessary bloated.
In the upcoming weeks I’ll be working on a single page application built on WP REST API. If you don’t know what that is, read Brian Krogsgard’s awesome article on it. Anyways, what will be this project about?
Global function add_filter is an integral part of WordPress core. Together with the function apply_filters, you can extend WordPress core, plugins and themes without touching a single line in them. Thanks to this, updates become straightforward — just copy and replace the old code with the new one. I’ll be explaining sections of WordPress core, […]
A WordPress site usually comprises a theme and many plugins. If loading speeds and server load are fine for you, congratulations. Otherwise, you have to profile your WordPress-based application. Simply put, profiling means to measure how much CPU time and memory each executed function took. Let’s say you create a custom function to count from […]
This week I crafted a presentation on how to optimize WordPress performance. Although it’s not the final bachelor’s work presentation, it has a lot of useful information for any WordPress developers and web administrators. Check it out.