wordpress テーマに lessphp をロードしました - これは完全なカスタムですが、.less ファイルを正しくリンクできない理由がわかりません。
より明確にするために、現在のパスは次のとおりです。
path:(themefolder/lessphp/lessc.inc.php)
path:(themefolder/lessphp/input.less) hemmm not working! yeaaa!
path:(themefolder/lessphp/output.css) hemmm not working!
ps. for now, I am in wamp localhost.
頭に:
<?php
//$inputPath = get_bloginfo("template_url")."/lessphp/input.less";
require "lessphp/lessc.inc.php";
$less = new lessc;
$less->checkedCompile("lessphp/input.less", "lessphp/output.css");
?>
もちろん、書く前に私はすべてを読んでやったが、何も、私はまだ理解していない...
PHPエラーは次のとおりです。
致命的なエラー: C:\Server\www\shape\wp-content\themes\shape\lessphp\lessc.inc.php の行で、メッセージ「ロード エラー: lessphp/input.less が見つかりませんでした」を含む例外「Exception」がキャッチされませんでした1818年
どのようにできるのか??
そして、クラシックパスを変更することは可能ですか??
ありがとうございました。