What is recommended way for including style.less file in WordPress themes?

wordpress

#1

Hi guys,
I have question for authors who use less file in themes.
What is recommended way for including style.less file in WordPress themes?
Do you include wp-less plugin as recommended in theme with TGM activation or just mentioned it in documentation?
And is it recommended to include style.less file in child theme also and recommend customers to edit it?


#2

99% of buyers won’t know what less or even CSS is. Put them in there along with the CSS files. Buyers will probably just edit the CSS files through Appearance-Editor.

List “less files included” somewhere because it will be appealing to developers and some people may use them to make modifications.

I wouldn’t worry about less compiler plugins unless you’re doing something special like auto generating CSS based on configuration settings


#3

@dtbakerI

Should less file be included in child theme?


#4

If you would like to use less to generate the CSS files in the child theme then you can certainly include them there as well


#5

@dtbakerI Thanks.