Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: custom-styles.css and customising the supplied themes


Burt Adsit
Participant

@burtadsit

I play with the tarski theme and the way Ben does it is to use the wp filter mechanism. He builds up the stylesheets and javascript libs that are used and then calls apply_filters to trigger them. This allows for backend admin selection of any custom css files. (Anything in a specific dir gets backend admin selection). If I want to create a custom style sheet I create it and plunk it into the ../styles dir.

His entire header.php really doesn’t have any html in it at all. Just a function call. It’s a pain to try and track down one little thing in his theme but it makes it flexible.

Skip to toolbar