From 0648332617f2f19e16708afc62771cd7e3fa5bd0 Mon Sep 17 00:00:00 2001 From: wglambert Date: Fri, 26 Oct 2018 13:34:09 -0700 Subject: [PATCH 1/2] Update content.md --- wordpress/content.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wordpress/content.md b/wordpress/content.md index c8a7174bca64..700fa8ff08d4 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -69,6 +69,13 @@ The following Docker Hub features can help with the task of keeping your depende - [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it. - [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated. +## Include pre-installed themes / plugins + +Mount the volume containing your themes or plugins to the proper directory; and then apply them through the wp-admin webui. Ensure read/write/execute permissions are in place for the user. + +- Themes go in a subdirectory in `/var/www/html/wp-content/themes/` +- Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/` + ## Running as an arbitrary user See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/). From e8302ac5cabcb98e496d53f93be6cfe240ae2b84 Mon Sep 17 00:00:00 2001 From: wglambert Date: Fri, 26 Oct 2018 13:46:18 -0700 Subject: [PATCH 2/2] Update content.md --- wordpress/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wordpress/content.md b/wordpress/content.md index 700fa8ff08d4..ef9ed9f2c75d 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -73,8 +73,8 @@ The following Docker Hub features can help with the task of keeping your depende Mount the volume containing your themes or plugins to the proper directory; and then apply them through the wp-admin webui. Ensure read/write/execute permissions are in place for the user. -- Themes go in a subdirectory in `/var/www/html/wp-content/themes/` -- Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/` +- Themes go in a subdirectory in `/var/www/html/wp-content/themes/` +- Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/` ## Running as an arbitrary user