digital-nature/wordpress-child-theme

A template for a wordpress theme that extends the Digital Nature base theme

1.0.9 2025-09-16 11:39 UTC

This package is auto-updated.

Last update: 2025-09-16 11:39:37 UTC


README

This template provides a theme that you can update for your site.

Usage

You first need to navigate to the themes directory in your WordPress install

Create theme directory using this template

Replace thisthemename with a name unique to this site

composer create-project digital-nature/wordpress-child-theme thisthemename

Updating names in the theme

The functions.php file contains thistheme in each of the includes, you should rename this to something that fits with your theme name

The src/rollup.config.js contains thistheme for each of the js files, update those too.

The src/css/frontend/frontend.scss also contains thistheme, update that.

Complex functionality

The autoloader is setup to load classes from the src directory in this theme. You will need to add this directory, but you will also need to update the package name in composer.json and run composer update

Helper classes

If you need to add any helper classes then please add them to the base Digital Nature theme unless they are very tailored for this site and have zero re-use value.