开发者 |
magnigenie
sagarseth9 |
---|---|
更新时间 | 2024年7月17日 15:36 |
捐献地址: | 去捐款 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 6.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
lessurl
which provides the url where the less file is present.
Now you can write less directly with your wordpress theme and just enqueue them like the traditional wordpress way. This plugin would take care of the rest of the work.
To enqueue your less file you can simply do like this wp_enqueue_style( 'less-style', get_stylesheet_directory_uri() . '/style.less' );