April 3, 2024
In order to add custom CSS or JavaScript, a WordPress plugin needs a way to add script or style tags to the HTML being rendered at any time.
Fortunately, WordPress allows plugin developers to enqueue their plugin CSS or JavaScript, so that it is added in the right place in the HTML of any post or page request.
In this lesson you’ll learn how to enqueue custom CSS and JavaScript, on either the front end, or the admin dashboard.