Skip to content

MichaelHabib/wordpress-divi-child-theme

Repository files navigation

Divi Child Theme

Notes:

  • Master branch is the latest dev branch. use release tags for more stable versions of this software.

  • This is still in Alpha phase.

Features & Addons:

Added MagnificPopup JS Plugin.

  • Added using cdnjs.com and using wp_enqueue() function in functions.php

  • JS code in source/js/magnific-popup.custom.js

Added custom "tabs" jquery module.

  • Needs refactoring & to be packaged as a proper module.

  • JS code in source/js/custom.js #Custom Tabs Module

  • CSS/SCSS code in source/scss/custom.scss #Custom Tabs Module

Added Swiper JS Plugin.

  • Added using cdnjs.com and using wp_enqueue() function in functions.php

Goals

  • ❏ complete assets management using webpack instead of wp_queue functions.

To Do:

  • Configure webpack to output main.js into /assets/js/ folder.

  • Concat & minify js files.

  • Concat & minify css files.

  • Auto resizing of images.

  • Configure babel and other JS utilities for better browser support of ES6

Changelog

v0.2.0

  • Minor readme.adoc updates

  • Switching to laravel-mix instead of vanilla webpack config.

  • Moving all resources from source/ to src/ .

v0.1.1

  • Setup webpack & yarn for easier assets management

  • Split source files such as JS, CSS & SCSS files & moved them to /source/ folder.

  • Configured webpack to output file into /assets/{css,js,images}, excluding main.js which is still at /assets/main.js. - == Version Numbers Major.Minor.Patches

  • master branch for development

  • tags minor versions mark "stable" version for alpha releases.

About

Divi child theme by Michael Habib

Resources

Stars

Watchers

Forks

Packages

No packages published