Suporte » Desenvolvendo com WordPress » Problems with jquery mobile api in custom plugin

  • I’m developing a lightbox images plugin For that I need to install the jq mobile lib. But it is messing up the whole admin panel. I’m including the lib like this:

    wp_register_script('script_modernizr', '//code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js', false, false, false);
    wp_enqueue_script('script_modernizr');

    The gallery I created works fine, but the admin panel gets all messed up.

    • Este tópico foi modificado 1 ano, 7 meses atrás por joaoGoyaB.
  • O tópico ‘Problems with jquery mobile api in custom plugin’ está fechado para novas respostas.