Difference between revisions of "WordPress file queue"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In WordPress, the '''WordPress file queue''' is how WordPress loads files for external CSS and JavaScript. == Description == == Custom style sheet == See WordPress c...")
 
Line 3: Line 3:
 
== Description ==
 
== Description ==
  
== Custom style sheet ==
+
Files must be added to the queue in order for WordPress to use them.
 +
 
 +
Add files to the queue using the <code>wp_enqueue_style()</code> function.
  
 
See [[WordPress custom style sheet]] for an example of adding a custom CSS file into the queue.
 
See [[WordPress custom style sheet]] for an example of adding a custom CSS file into the queue.

Revision as of 06:14, 29 September 2016

In WordPress, the WordPress file queue is how WordPress loads files for external CSS and JavaScript.

Description

Files must be added to the queue in order for WordPress to use them.

Add files to the queue using the wp_enqueue_style() function.

See WordPress custom style sheet for an example of adding a custom CSS file into the queue.

See also

External links