{"repo":"alleyinteractive/wp-asset-manager","free":true,"listed":false,"github":"https://github.com/alleyinteractive/wp-asset-manager","clone":"git clone https://github.com/alleyinteractive/wp-asset-manager.git","description":"Asset Manager is a toolkit for managing front-end assets and more tightly controlling where, when, and how they're loaded.","language":"PHP","stars":30,"topics":["wordpress","wordpress-plugin"],"license":null,"category":"self-hosted-apps","readme_excerpt":"WordPress Asset Manager Asset Manager is a toolkit for managing front-end assets and more tightly controlling where, when, and how they're loaded. Using Asset Manager in your WordPress Project Enqueue Functions am enqueue script am enqueue style Conditions Inline Assets Enqueue Options Preload Function Preload Options SVG Sprite Setup Admin pages Registering Symbols Verifying a symbol is registered Changing the SVG Directory Setting Global Attributes Update $sprite allowed tags Removing a Symbol Replacing a Symbol Displaying a Symbol Notes on SVG sizing Getting a Symbol Requirements Downloads and Versioning Contributing to Development Using Asset Manager in your WordPress Project To get started, simply download and install this plugin into your plugins directory and activate it on the plugins screen. Enqueue Functions The am enqueue functions will enqueue an asset with additional attributes based upon its load method value. Options can be passed in as an array or individual parameters. am enqueue script Use am modify load method to modify the load method of an already-enqueued script. am enqueue style Conditions The condition parameter determines under which condition(s) the asset should load. include string array Requires that all conditions be truthy in order for the asset to load. The include property is implied if the condition parameter is a string or array of strings; otherwise the condition parameter must contain the include property. include any string array Allows fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/alleyinteractive","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alleyinteractive/wp-asset-manager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}