![]() ![]() Note that the element with Enqueue action will not be exported to the theme. The parameters of these two actions map directly to corresponding WordPress functions: wp_enqueue_script and wp_enqueue_style. The best approach is to add an empty element to the page ( or element for styles) and then add Enqueue Script or Style action on that element. Sometimes we need to include a resource to the WordPress theme that for some reason can’t be included in the HTML source project. Don’t include a specific style or scriptĪdd Do Not Enqueue action on, or elements on the page to not include them into the exported theme. ![]() We can do that with Enqueue Script, Enqueue Style and Do Not Enqueue actions located in the Site section. Override default enqueueing parameters, for example use a script included in WordPress. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |