Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
makura-2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Raj Shah
makura-2025
Commits
fd02c47d
Commit
fd02c47d
authored
Jul 16, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: download resource count fix v1.3
parent
eb7f05c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
enqueuer.php
includes/enqueuer.php
+3
-4
No files found.
includes/enqueuer.php
View file @
fd02c47d
...
...
@@ -42,6 +42,9 @@ function conserve_register_styles()
'ajaxurl'
=>
admin_url
(
'admin-ajax.php'
),
)
);
/** CUSTOM JS */
wp_enqueue_script
(
'custom-JS'
,
get_template_directory_uri
()
.
'/assets/js/script.js'
,
array
(
'jquery'
),
null
,
true
);
wp_localize_script
(
'custom-JS'
,
'download_resource_object'
,
...
...
@@ -49,8 +52,5 @@ function conserve_register_styles()
'ajaxurl'
=>
admin_url
(
'admin-ajax.php'
),
)
);
/** CUSTOM JS */
wp_enqueue_script
(
'custom-JS'
,
get_template_directory_uri
()
.
'/assets/js/script.js'
,
array
(
'jquery'
),
null
,
true
);
}
add_action
(
'wp_enqueue_scripts'
,
'conserve_register_styles'
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment