timber / starter-theme

The "_s" for Timber: a dead-simple theme that you can build anything from
MIT License
811 stars 275 forks source link

Use wp_enqueue_style and wp_enqueue_script instead of hard including the file #160

Open Levdbas opened 1 month ago

Levdbas commented 1 month ago
          > * the style.css file is included in the head.html. I find myself using the enqueue functions to add compiled css/js files that way. Maybe we could one day in the future introduce a basic setup for this as well?

Let’s stick to wp_enqueue_style(). We don’t have to invent our own way to do it.

Originally posted by @gchtr in https://github.com/timber/starter-theme/issues/157#issuecomment-2109378324