Creating Small Components in a Theme and Loading CSS for Each Part
I routinely build reusable components for WordPress plugins and then run a series of conditional checks on whether or not to load the components, so it’s common practice for me and I’ve learned it over the years by looking at other plugins, so I’d say yes. As for the CSS I’ll register all of the … Read more