Skip to content

PascalAOMS/wordpress-dynamic-hashes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Using Dynamic Hashes in File Names with WordPress’ Enqueue Function

More details are to be found in my CSS-Tricks article.

Using Webpack and its dynamic hash generator WordPress does not allow to enqueue these files automatically out of the box.

Looping over the script and style files allows to enqueue them with their hash values.

About

Enqueue styles and scripts automatically when using dynamic hashes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages