• Hi, I installed your plugin in a theme non from templatesnext to use your useful functionality.

    all works weel, except when I add a wp_enqueue_script to my funtcions.php.

    after enqueued that script in child theme to override the parent one, the backend popup in lightbox to choose the funtionalities doesn’t show properly. It becomes a little square of about 20px.
    Removing the wp_enqueue_script line in functions all goes well.
    Why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author marsian

    (@marsian)

    most likely the javascript file already been enqueued in templatesnext toolkit, or may be there is javascript error in your page. without looking at the page it is difficult to tell.

    Thread Starter resunoiz

    (@resunoiz)

    Hi marsian, the problem is that all works well in frontend AND with the same file enqueued in the parent theme. I only changed a slider speed, so i exclude an error in the script.

    I tried to look at the code, but nothing seems wrong. the weird thing is that the same enqueued theme.php file in the parent theme gives not that issue, in the child does.

    But I can give you access to my backend to understand better.

    • This reply was modified 7 years, 10 months ago by resunoiz.
    • This reply was modified 7 years, 10 months ago by resunoiz.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_enqueue_script in functions.php: plugin not working in backend’ is closed to new replies.