ideasonpurpose / wp-theme-init

A common baseline of repeated functions, filters and actions used across WordPress themes.
MIT License
0 stars 1 forks source link

wp-theme-init

Version: 2.14.5

A common baseline of repeated functions, filters and actions used across our WordPress themes.

Packagist codecov Coverage Status Maintainability styled with prettier

Some of what's included:

WordPress Integration

Dependency manifest processing is designed to work with the WordPress Dependency Extraction Webpack Plugin. This omits a subset of script libraries included with WordPress, and outputs a PHP snippet for each entry point which includes a dependency list for enqueuing scripts.

The set of WordPress scripts which will be omitted is listed here and includes jquery, lodash, moment, react and react-dom as well as all scripts from the @wordpress namespace.

Development

Run the PHPUnit test suite with: npm run test

 

Brought to you by IOP

IOP Logo This project is actively developed and used in production at Ideas On Purpose.