Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Index

The following two sections serve as an Index of the themes and plugins contained in this monorepo.

Plugins

  • plugin-name: Plugin boilerplate provided by Devin Vinson.

  • ad-hello-dashboard-widget.php: Reference widget source code from Professional WordPress: Design and Development, by Brad Williams, et al.

  • hello.php: Hello world plugin provided by WordPress core.

Themes

  • _sad: Underscores (_s) fork for Alyssia's Diary. This is my very first theme. It will evolve and produce other forks I'm sure. I would like to settle on a layout and provide a theme settings page for applying custom palettes; for now it remains cute.

Environment Setup

This procedure describes a workflow for rapidly iterating on WordPress themes and plugins with minimal setup, utilizing DDEV and custom Docker overrides to create an ephemeral development environment and mount remote directories for the WordPress core to reference inside a Docker container.

  1. Navigate to the WordPress core.
  2. Execute ddev config to configure a fresh development environment.
  3. Once configured, edit a new .ddev/docker-compose.mounts.yaml file and add the following block (using relative or absolute paths to map your monorepo clone):
services:
  web:
    volumes:
      # Relative to the .ddev directory
      - /home/dylan/my-wp/themes/my-theme:/var/www/html/wp-content/themes/my-theme
  1. Now execute ddev start and each specified theme or plugin will be available in the WordPress admin dashboard.

About

My monorepo for WordPress theme and plugin development

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages