cipherdevgroup/carelib

Theme Support

Closed this issue · 1 comments

Technically we don't require theme support for any of the features in the library to be loaded, but a couple of them kinda-sorta depend on them. The layouts API being the most obvious. The site logo feature also uses theme support. I think those are the only things left at this point, but I need to double check.

I think the simplest way to get rid of theme support checks is to allow the data normally passed in through add_theme_support to be passed in through the library arguments at runtime.

We only have a couple theme support checks left and after reviewing they're probably best left as they are. I've conditionally loaded the classes based on theme support so this should be taken care of for now.