Where I can use my wp_enqueue_script ?

Hello,

We are using Woocommerce and 1 custom quiz script for testing and score 3 answers. + we use woocommerce epay.kkb plugin from our bank to make money transfer in KZT.

Problem is that we've got 







p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #454545}

wp_enqueue_script( 'jsonQuiz2', THEME_URI. '/assets/js/jsonQuiz2.js', array( 'jquery' ), THEME_VERSION, true ); 


that we input in /functions/theme-head.php 


and place it after this line 


if( ! function_exists( 'mfn_scripts' ) )

{

function mfn_scripts() 

{

if( ! is_admin() ){

wp_enqueue_script( 'jquery-ui-core', THEME_URI .'/assets/ui/jquery.ui.core.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-ui-widget', THEME_URI .'/assets/ui/jquery.ui.widget.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-ui-tabs', THEME_URI .'/assets/ui/jquery.ui.tabs.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-ui-accordion', THEME_URI .'/assets/ui/jquery.ui.accordion.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-plugins', THEME_URI. '/js/plugins.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-mfn-menu', THEME_URI. '/js/menu.js', false, THEME_VERSION, true );


wp_enqueue_script( 'jquery-animations', THEME_URI. '/assets/animations/animations.min.js', false, THEME_VERSION, true );

wp_enqueue_script( 'jquery-jplayer', THEME_URI. '/assets/jplayer/jplayer.min.js', false, THEME_VERSION, true );



and when enqueue is fill down here, redirecting from woocommerce epay.kkb not working.\



So we want to know where we can place enqueue else for working this plugin with enqueue


Many thanks!

Comments

  • Hi,

    What you ask for, requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
    Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio

    thanks
  • Thank you :)
Sign In or Register to comment.