Change WordPress admin TinyMCE settings

Recently, I had to modify the default WordPress admin post editor (TinyMCE) configuration on a specific post type. I wanted to remove a few buttons, Quicktags, limit the number of rows and so on. At first, I was puzzled over which hook I should use. In the end, it turned out to be pretty easy …

Tools for better writing

Although writing articles on your blog is not directly related to WordPress development, it helps you in many aspects. Similar to having a multitude of tools empowering your programming endeavors, having some of them while writing an article can make your task easier and the result better, especially if English is not your mother tongue. …

Securing your WordPress site running on Nginx

Nginx is a modern and fast web server software. If you are not familiar with Nginx, you might be familiar with the Apache HTTP web server software. Both of them can serve your WordPress-powered site, though there are notable differences in performance and the way they work. I won’t be comparing them in this article, …

Submitting your Composer-powered plugin to Packagist.org

Are you working on a new super useful WordPress plugin? Do you want it to be developer-friendly? Define it as a Composer package and submit it to the official Composer package repository: Packagist.org. Other programmers can then require your plugin as a dependency to their projects. You’ll make their lives much better and they’ll give …

Why use Sage starter theme for your next web app

When thinking about your new WordPress web site or application, developers usually look for the best prebuilt WordPress theme. Some reasons for doing so: To save as much time as possible. Learn best practices from fellow skillful web developers. Explore new areas. Sage — a starter theme from the Roots.io guys — belongs to the …

Automated WordPress installation with Ansible

In the second article of the Ansible and WordPress series, we discussed the basic Ansible project structure and setting up WP-CLI and PHP. Today, I’ll walk you through creating a new database, adding a new user with correct permissions to this database, downloading WordPress with WP-CLI and configuring it properly to use our newly created …

Ansible and WordPress: roles and playbooks

Since writing the article on why you should use Ansible for managing your WordPress deploys on VPS servers, I’ve added some basic configurations to my GitHub repo about this topic. In this article, we’ll be discussing how the standard Ansible project folder structure looks like and I’ll show you how to set up simple roles …