هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

WP Less Compiler

الوصف

This plugin has everything you need to run LESS in development and convert it to CSS for production.

Have an issue? This plugin is a work in progress, and we’d love your feedback. The official plugin repository is hosted on GitHub. Look here for the most up to date development versions. You can also use the issue tracker to let us know if you have any problems or suggestions.

Features

  • Display CSS to visitors while showing LESS to administrators
  • Compile and serve a CSS file generated from LESS
  • Develop in LESS right in the browser

التنصيب

  1. Download the plugin and unzip it.
  2. Upload wp-less-compiler to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Settings > Less Compiler and add a LESS File and a CSS File, save your settings.

الأسئلة المتكررّة

Can I use a custom version of LESS

Currently there is no way to do this that would not be overwritten by future versions of the plugin,
but expect it in a future release.

If you MUST do this, here’s how:

  1. Download your preferred version of Less.js and save it as less-{version-suffix}.js. For example the minified version of 1.7.0 would be named less-1.7.0.min.js
  2. Upload that file to plugins/wp-less-compiler/assets/js/
  3. Open plugins/wp-less-compiler/wp-less-compiler.php and change the LESS_JS_VER constant to the version-suffix you used earlier.

Remember that this will be overwritten when the plugin updates, but a persistent way to do this is coming soon.

المراجعات

24 سبتمبر، 2016
I tried all the other less compiler plugins on WordPress before using this one because it had so a small rating. Nothing seemed to work easily and required tons of time trying to get it to work. This one was easy to use and very intuitive. I'd highly recommend it.
إقرأ جميع المراجعات 4

المساهمون والمطوّرون

“WP Less Compiler” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”WP Less Compiler“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.3.0

  • Added CSS Compression as an option instead of as the default.

1.2.1

  • Prevented errors on the front end if you activate the plugin but don’t configure it.

1.2.0

  • Less version updated.
  • Added ability to override database output settings with an environment variable.

1.1.0

  • Bug fixes and Less version update.

1.0.0

  • First release.