Linux 软件免费装
Banner图

Lessify Wordpress

开发者 magnigenie
sagarseth9
更新时间 2024年7月17日 15:36
捐献地址: 去捐款
PHP版本: 5.4 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

less wp less lessify wordpress less wordpress less wp lesscss wordpress

下载

1.1 1.0

详情介绍:

LessCSS LESS extends CSS with dynamic behaviour such as variables, mixins, operations and functions.Implements LessCSS in order to provide lots of interesting features for the theme development. How to use ? Just enqueue the LESS files (with .less extension) as it is usually done for the CSS ones, and the corresponding CSS files will automatically be generated and added to the site. Important Notes 1.This plugin is based on lessphp by Leaf Corcoran 2.This plugin generates the css file under "/wp-content/uploads/lessify-cache" and therefore you need to define your images and any external links on you less file using the themeurl variable available with this plugin and if you use relative url then it will not work as we are saving the css file in a different location. 3.In order to use themeurl variable with the images you can do something like this body{ background-image: url(@{themeurl}/images/bg.png); } the plugin also comes with another variable lessurl which provides the url where the less file is present.

安装:

升级注意事项:

1.1
  • New updated version available, Please keep a backup before the update.

常见问题:

What is lessify wordpress?

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.

How to add LESS file to your theme?

To enqueue your less file you can simply do like this wp_enqueue_style( 'less-style', get_stylesheet_directory_uri() . '/style.less' );

更新日志:

1.1 1.0