Commit 59c0c6fd by rajshah

feat: download resource count fix v1.0

parent 81e870c1
...@@ -36,7 +36,7 @@ function conserve_register_styles() ...@@ -36,7 +36,7 @@ function conserve_register_styles()
wp_enqueue_script('counter-js', get_template_directory_uri() . '/assets/js/counterup.js', array('jquery'), $theme_version); wp_enqueue_script('counter-js', get_template_directory_uri() . '/assets/js/counterup.js', array('jquery'), $theme_version);
wp_enqueue_script('raphaelmin', 'https://cdnjs.cloudflare.com/ajax/libs/raphael/2.3.0/raphael.min.js', array('jquery'), $theme_version); wp_enqueue_script('raphaelmin', 'https://cdnjs.cloudflare.com/ajax/libs/raphael/2.3.0/raphael.min.js', array('jquery'), $theme_version);
wp_localize_script( wp_localize_script(
'custom', 'custom-JS',
'frontend_ajax_object', 'frontend_ajax_object',
array( array(
'ajaxurl' => admin_url('admin-ajax.php'), 'ajaxurl' => admin_url('admin-ajax.php'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment