• Hi. I’ve activated only AG Custom Admin plugin.
    I’ve pasted this code in <head> and it doesn’t work at all. It works only if I turn off AG Custom Admin.

    This is the code pasted in <head></head>

    <script>
    jQuery(document).ready(function(){
      jQuery("button").click(function(){
        jQuery("p").text("jQuery is still working!");
      });
    });
    </script>

    This is the only Jquery loaded by default by WordPress 4.1:

    <script type='text/javascript' src='...js/jquery/jquery.js?ver=1.11.1'></script>
    <script type='text/javascript' src='...js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>

    With many other plugins using jQuery the above code works.
    Any ideas?
    Many many thanks
    Federico

    https://www.ads-software.com/plugins/ag-custom-admin/

Viewing 1 replies (of 1 total)
  • Could you please check if this code is before or after jQuery inclusion in head? I would suggest you to compare head contents in working and non-working case, so we can see what’s different. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘AG Custom only plugin loaded, jQuery doesn t work’ is closed to new replies.