在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‘);