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

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

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