Js should be more plugin like
WraithKenny opened this issue · comments
Use data attributes and instantiate on those rather then functionally. Break up distinct functionality into separate locations.
Allows WordPress admin users the ability to add custom CSS and JavaScript directly to individual Post, Pages or custom post types.
WraithKenny opened this issue · comments
Use data attributes and instantiate on those rather then functionally. Break up distinct functionality into separate locations.