You could add these functions
-
1.- The first idea is to implement combinations by levels, that is, from a theme or plugin. css or js
- Example theme A:
css/style.css
css/mix.css
css/mix2.css
css/mix3.css - These 4 files could be combined in the same theme or plugin place.
At the same time it would be “unregistered” and only the “combined” file would be called. The original css or js would no longer be called.
2.- another idea is to change the server files to an external cdn. example:
theme A: css/boostrap.css which has an option to change to an external url to a free one from the domain “cdn.jsdelivr.net”. for both css and js.
local:
my-web.com/css/ bootstrap.min.css.To this one for either css or js:
https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css
https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js - Example theme A:
- The topic ‘You could add these functions’ is closed to new replies.