filmov
tv
Enqueuing CSS and JavaScript

Показать описание
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.
---
View this lesson and others in this course on Learn WordPress:
0:00 Introduction
0:42 Enqueuing CSS
4:14 Enqueuing JavaScript
5:51 Enqueuing on the admin dashboard
6:11 Selective Enqueuing
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.
---
View this lesson and others in this course on Learn WordPress:
0:00 Introduction
0:42 Enqueuing CSS
4:14 Enqueuing JavaScript
5:51 Enqueuing on the admin dashboard
6:11 Selective Enqueuing