Question – wp_enqueue_*
-
Hey Frank! ๐
Quick question – I’ve always assumed that AO fires after everything else, therefore if I conditionally enqueue assets, does AO only concat them for that given page?
Example:
if(!is_single) {
wp_enqueue_style(‘style-name’, get_stylesheet_uri());
}So in theory, I wouldn’t then see styles from that stylesheet on say, my homepage?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Question – wp_enqueue_*’ is closed to new replies.