LYNDA_WORDPRESS_DEVELOPER_TIPS_ENQUEUING_STYLES_AND_SCRIPTS_TUTO
- Type:
- Other > Other
- Files:
- 2
- Size:
- 88.87 MB
- Uploaded:
- Jul 23, 2014
- By:
- Trige
RELEASE TITLE: WORDPRESS DEVELOPER TIPS: ENQUEUING STYLES AND SCRIPTS PUBLISHER....: LYNDA LANGUAGE......: ENGLISH LINK.........:RELEASE TYPE..: RETAIL AUTHOR.......: MORTEN RAND-HENDRIKS RELEASE DATE..: 2014.07.21 FORMAT.......: ISO STORE DATE....: 2014.07.22 LEVEL........: ADVANCED ISO CHECKSUM..: AF62E122 ISO SIZE.....: 93.184.000 B DISKCOUNT.....: 02 X 50MB RUNTIME......: 38M 31S SAVED MONEY...: YOU DID! DISKNAME.....: keiso_lwdtesands TUTORIAL 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.