Difference between revisions of "WordPress file queue"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (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...") |
Karl Jones (Talk | contribs) |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
− | + | 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.