wordpress-dominant-color icon indicating copy to clipboard operation
wordpress-dominant-color copied to clipboard

Load Scripts with wp_enqueue_media

Open picard102 opened this issue 3 years ago • 1 comments

Is there a way to have the necessary CSS and scripts loaded as part of wp_enqueue_media? I use the gallery modal on the front end and it produces some errors due to the styles and scripts being missing, as it's only loaded in the admin.

picard102 avatar Mar 17 '22 03:03 picard102

Hey! This is probably a good shout...

This might solve some of the other issues reported. Leave it with me and ill do some testing this weekend :)

lgladdy avatar Mar 17 '22 08:03 lgladdy