进行了一些小修复
This commit is contained in:
@@ -611,6 +611,14 @@ trait ScriptsPart1b {
|
||||
|
||||
// 单篇资源 / 付费内容 / 独立下载页:下载 + 收银台脚本
|
||||
if ($is_single_resource || $is_paid_content_single || $is_download_file_page) {
|
||||
$cms_download_css_path = get_template_directory() . '/assets/css/frontend/cms-download.css';
|
||||
wp_enqueue_style(
|
||||
'aksrt-cms-download',
|
||||
$base_uri . '/assets/css/frontend/cms-download.css',
|
||||
[$core_dep],
|
||||
file_exists($cms_download_css_path) ? (string) filemtime($cms_download_css_path) : $version
|
||||
);
|
||||
|
||||
$cms_download_js_path = get_template_directory() . '/assets/js/cms-download.js';
|
||||
wp_enqueue_script(
|
||||
'aksrt-cms-download',
|
||||
|
||||
Reference in New Issue
Block a user