[wp-trac] [WordPress Trac] #32607: Function for URL to registered scripts and styles (was: Function for URL to registers scripts and styles)

WordPress Trac noreply at wordpress.org
Tue Jan 17 14:32:31 UTC 2017


#32607: Function for URL to registered scripts and styles
-----------------------------------------+------------------------------
 Reporter:  msnewton                     |       Owner:
     Type:  feature request              |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Script Loader                |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 Replying to [ticket:32607 msnewton]:
 > The reason is this: I generate all of the HTML for special pages myself
 but wish to include standard scripts and styles that are built in to
 WordPress.

 Adding `<?php wp_head(); ?>` before `</head>` and `<?php wp_footer(); ?>`
 before `</body>` should do that, unless I'm missing something. Why do you
 need a new function?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32607#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list