定制 digital-nature/wordpress-theme-digital-nature 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

digital-nature/wordpress-theme-digital-nature

最新稳定版本:0.0.13

Composer 安装命令:

composer require digital-nature/wordpress-theme-digital-nature

包简介

Contains the base theme for Digital Nature site builds.

README 文档

README

Contains the base theme for Digital Nature site builds.

Usage

This should be the base on which you build your site theme.

Child theme link

Child theme docs

WordPress insist that you put the parent theme as a 'Template' within your style.css file. Below is an example of a (very) minimal style.css file

# style.css
/*
Theme Name: Your theme name
...
Template: digital-nature
*/

Contributing

PRs are welcome. Please follow the build process below if you want to make any js/css changes

Updating versions

Use semantic versioning.

When updating, you will need to make the change in a few places:

  • src/css/frontend/frontend.scss
  • also add a git tag for the same version number

Build process

Navigate to the src directory and run build/watch

Note that you will need to run npm i first, to install the dependencies

# navigate to the src directory
cd src

# watch for changes and auto-build
npm run watch

# build for production
npm run build

Responsive styles

Breakpoints for screen widths should not be found in this theme. We can set these breakpoints in the child theme, if we set them here then we will end up including both these base styles and those of the theme, that can lead to conflicts.

统计信息

  • 总下载量: 72
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-10