Support » Fixing WordPress » wp_register_script doesn nothing

  • hello guys and gals,

    I am facing a rather weird issue.
    I am trying to use a plugin called ajax-load-more but for some reason it is not working.

    THe reason for it not to work is because it isn’t registering the javascript files with wp_register_script.
    I have no clue why wordpress is not registering the script as I CAN deregister.

    I am using “global $wp_scripts; var_dump($wp_scripts);” to see the list of registered scripts and for example “jquery” is on there.
    The weird thing is that with deregister I see jquery being removed but when I register another script it does nothing.
    It doesn’t appear in the list.

    Does anyone know if this and where that issue might be taking place?

    other plugins that I have installed are:

    • Admin Menu Editor
    • Advanced Custom Fields
    • Cookie Notice
    • Custom Post Type UI
    • iTheme Security
    • Redux Framework
    • Timber
    • Yoast

    Hope you guys can help.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_register_script doesn nothing’ is closed to new replies.