Support » Plugin: Translate WordPress with GTranslate » [Plugin: GTranslate] Plugin needs a proper widget and wp_enqueue_script

  • Resolved helgatheviking

    (@helgatheviking)


    i think the plugin would be great if it could generate its own widget. having to copy code into a text widget isn’t ideal. especially b/c that isn’t the correct way to enqueue scripts.

    not enqueueing scripts caused me no end of trouble- as i was essentially loading 2 different copies of jquery. it was breaking my superfish menus.

    the plugin providing it’s own version of jquery is superfluous when wordpress already does.

    wp_enqueue_script(‘jquery’)

    pretty much a done deal.

    the instant translate IS a super cool feature though and once I took jquery.js out of the widget it worked. just some suggestions. cheers.

  • The topic ‘[Plugin: GTranslate] Plugin needs a proper widget and wp_enqueue_script’ is closed to new replies.