WordPress.org

Ready to get started?Download WordPress

Forums

GTranslate
Plugin needs a proper widget and wp_enqueue_script (1 post)

  1. helgatheviking
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by helgatheviking
  • This topic is not a support question
  • WordPress version: 3.1

Tags