Assets enqueue
Enqueue local or external assets with a version cache to the child theme frontend pages and admin panel.
Allowed assets types to enqueue: JS, CSS and local SCSS (will be compiled to CSS).
Select custom url, a local asset (uploaded to child theme custom assets folder) or a CDN url. Assets will be enqueued in order before child theme custom files, so enqueued assets can be used in custom code. Useful to add external libraries that can be used in JS custom code, or styles that can be overwritten in SCSS custom code.Asset options:
- Asset source: Upload your custom assets to use them as local assets, use a external CDN or custom url.
- URL: Asset URL or relative path to custom assets folder.
- Asset version: Asset version, which is added to the URL as a query string for cache busting purposes.
- Enqueue on frontend: Enqueue asset on frontend, used for public site.
- Enqueue on admin panel: Enqueue asset on admin panel, used for administrators.
On update:
Basic mode: New code will be generated to update the related PHP file. Related theme mod will be updated.
Advanced mode: Editor code will be used to update the related PHP file. Related theme mod will not be updated.
On reset:
No assets will be enqueued.
Related PHP file will reset to default template. Related theme mod will reset to default values.