Support » Developing with WordPress » What’s the Best Practice for Loading CSS for Each Template Part?
What’s the Best Practice for Loading CSS for Each Template Part?
-
When loading template parts from the
template-parts/
directory, what is the best practice for loading CSS for each part? Should I include the CSS directly within each template file so that it loads automatically whenever the template part is loaded? I’d like to know the recommended approach.(Or generally, is it not recommended to load individual CSS files for each template part??)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.