Hello guys, just want to ask whether its allowed to use style.php in Themeforest Wordpress Themes or do I need to strictly use default style.css and find another way how to inject css styles from customizer?
thanks Alex
Hello guys, just want to ask whether its allowed to use style.php in Themeforest Wordpress Themes or do I need to strictly use default style.css and find another way how to inject css styles from customizer?
thanks Alex
I think you can use it but I am not 100% sure. Wait for more replies.
Thanks, we will see
You can use PHP to generate custom styles, but you should not be regenerating a stylesheet dynamically on every page load. Either save your generated CSS in a transient or write it to a custom stylesheet. Either way, the static CSS should be separated.
Thanks sevenspark, that make sense to me, appreciated.