该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Less Theme Support

描述

Using Less when developing a theme can both enhance the code and speed development. However, setting up Less in a every theme (not to mention updating Less for each theme) can make any saved time saved.

This plugin solves that issue by setting up Less for the theme.

Usage

  1. Add style.less at the root of the theme.
  2. Add the following to the after_setup_theme hook.

    add_theme_support( 'less', array(
            'enable' => true
        ) );
    

For more information on advanced usage, other options or to join development, visit the Github repo.

安装

  1. Upload less-theme-support to your /plugins/ directory for WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

None yet. Ask Away!

评价

此插件暂无评价。

贡献者及开发者

“Less Theme Support” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Less Theme Support”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • Added correct tag.

1.0.1

  • Fixed prefix bug.
  • Added more efficient style_loader_tag filter.

1.0.0

  • Initial Release Version