Using Docker compose to develop plugins – Part 2

In this, the second part of the series showing a docker compose based development environment for wordpress, we look the rest of the files in the system and the commands which are run to complete the install and configuration of the site. A reminder that the first part of the…

Continue reading

Using Docker compose to develop plugins – Part 1

When I first started the Develop with WordPress site, some of the earliest articles I wrote were a series on installing wordpress. These articles are still a useful resource when it comes to installing on a server or laptop running Linux, but often you don’t want to install server processes…

Continue reading

Learn the basics of Vim

Quite often there are times when you need to edit some files on a remote server and you find that your normal editor isn’t installed on the platform. This is particularly true if you normally use one of the modern GUI editors like Atom or Sublime and although you could…

Continue reading

Problems when compiling PHP Extensions with Pecl

This is just a very short post to offer some advice to any developers who are adding PHP extensions to their wordpress environment using the pecl tool. This is a tool which compiles extensions and links them to the PHP binary so they run correctly. When the install process takes…

Continue reading

Using Filters in WordPress

Filters in WordPress are one of the mechanisms which allows the WordPress core system to call and run new code written after the core was written. They are one of the first conceptual ideas that you need to understand when you start developing in wordpress, because the very first rule…

Continue reading

Creating shortcodes in WordPress.

Shortcodes in WordPress are a mechanism used to embed pieces of content into posts, pages or widgets without having to edit template files or themes. They are a simple text sequence, which can be added into any content area, and prior to the content being displayed the shortcode is found and…

Continue reading

Using symlinks to aid wordpress plugin development

This is a quick post to explain how I arrange my development environment and use symlinks to aid wordpress plugin development. Although it isn’t essential, I find it helps me to keep the different projects I’m working on in separate directories from the rest of the wordpress install. In my…

Continue reading

WordPress install process and DNS

In this, the final part of the wordpress install series, I’m going to walk through the famous wordpress 5 minute install, and also talk about the changes required to the DNS to get the new site visible on the internet. DNS changes In fact and probably obviously, the DNS needs…

Continue reading

Adding wordpress autoload to plugin boilerplate

The wordpress plugin boilerplate generator is a great site for creating a starting point of a new wordpress plugin, but by default when you generate the code there is no autoload included so as you add new classes you also have to add their file into the loader class. This…

Continue reading

Installing WordPress – Apache web server configuration

In this part of the Installing WordPress series we look at the WordPress Apache web server configuration files necessary to get your WordPress site on the Internet. WordPress Apache web server configuration A basic wordpress apache web server configuration file is shown in the section below. In most apache installations…

Continue reading