WordPress.org

Support

Support » Plugins and Hacks » Better WordPress Minify » [Resolved] [Plugin: Better WordPress Minify] "A SCRIPT HANDLE" ? What is that and how 2 use please?

[Resolved] [Plugin: Better WordPress Minify] "A SCRIPT HANDLE" ? What is that and how 2 use please?

  • OK, this is for the smart php gurus out there, who keep forgeting about us, poor humans with no knowledge about extrateretrial scripting naming conventions …:-(

    You write … “Type in one script handle (NOT filename) per line.”

    WHAT ON EARTH IS “A SCRIPT HANDLE” and could you pls. give an example?

    For ex how to swith the order jquery and let’s a lighbox or crop script is called?

    Thank you!

    http://wordpress.org/extend/plugins/bwp-minify/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Khang Minh

    @oddoneout

    Hi,

    I think I’ve explained this quite well in the documentation. Anyway, maybe you should take a look at this function: http://codex.wordpress.org/Function_Reference/wp_enqueue_script.

    Hope that helps.

    If the script is loaded using the code

    wp_enqueue_script('LocRelativeTime',plugins_url('/loc_relative_time.js', __FILE__));

    Then the “script handle” is the string ‘LocRelativeTime’ so that what you would put into the box.

    Thanks Workshopshed for that explanation, didnt understand it until now!

    Hi,
    I have similar problem with BWP Minify and Tabber Tabs script. I found the handle witch is “tabbertabs” and put it in ignore field. But the script is not working and not showing in site. When i deactivate BWP Minify – Tabber tabs is working again. I have asked Tabber tabs author for script handle, and he told it is “tabbertabs”.
    Can someone help me out with this. WP 3.3.1, site url – http://www.tsarevo.info

    Thank you

    #OddOneOut, sorry, but you didn’t explain it well in the documentation (at least, for me). Not all WP users or even web-masters are programmers. I’ve read your documentation several times and it was impossible for me to understand and locate that handler name (I’m having problems with google-analytics.js). Let’s see if I manage to fix it (I just came here from Google looking for “what is a script handle” 🙂

    Plugin Author Khang Minh

    @oddoneout

    I’m trying to implement a mechanism to detect script handler automatically so I hope it won’t be much of a trouble in the future :).

    Dear Sir, I am using your plugin but my site design diturbed after using your plugin but i got the load speed our site is http://www.freevisuals4u.com please guide us what to do as i wana use your plugin and my previous design.

    Kindly guide mre.

    Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Better WordPress Minify] "A SCRIPT HANDLE" ? What is that and how 2 use please?’ is closed to new replies.
Skip to toolbar