CG数据库 >> Lynda – WordPress Developer Tips: Enqueuing Styles and Scripts

Lynda – WordPress Developer Tips: Enqueuing Styles and Scripts的图片1

Lynda - WordPress Developer Tips: Enqueuing Styles and Scripts | 279MB

Duration: 0h 38m | Video: AVC (.mp4) 1280x720 15fps | Audio: AAC 48KHz 2ch

Genre: eLearning | Level: Advanced | Language: English

There's a right way and a wrong way to add style sheets and JavaScript libraries and scripts to your WordPress themes. The right way takes advantage of the WordPress enqueue system, which prevents script and style conflicts. In this installment of WordPress Developer Tips, staff author Morten Rand-Hendriksen introduces the two main functions for enqueuing: wp_enqueue_style() and wp_enqueue_script(0). He'll show how the functions work and how to adjust their parameters, as well as theoretical and practical examples of implementing them in themes. This course uses Simone, a theme developed especially for Morten's WordPress: Building Themes from Scratch Using Underscores course, but you can use any theme or subtheme that you'd like.

Lynda – WordPress Developer Tips: Enqueuing Styles and Scripts的图片2

发布日期: 2014-07-23