# 如何在functions.php中导入自定义的脚本

在wp-content\themes\vt-blogging\functions.php中,导入自定义脚本

wp-content\themes\vt-blogging\custom_pages\custom_script\custom-functions.php

在wp-content\themes\vt-blogging\functions.php中:

include (dirname(__FILE__) . ‘/custom_pages/custom_script/custom-functions.php‘)

或者

require_once(dirname(__FILE__) . ‘/custom_pages/custom_script/custom-functions.php‘);

# 如何在functions.php中导入自定义的脚本

上一篇:android得到本机物理地址


下一篇:【2019/2/1】安卓应用——记账本,学习记录【1】