WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Minify
[resolved] "A SCRIPT HANDLE" ? What is that and how 2 use please? (8 posts)

  1. candy2012
    Member
    Posted 2 years ago #

    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/

  2. Khang Minh
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. Workshopshed
    Member
    Posted 2 years ago #

    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.

  4. Dubbelstein
    Member
    Posted 2 years ago #

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

  5. Mladen Gradev
    Member
    Posted 2 years ago #

    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

  6. almarma
    Member
    Posted 1 year ago #

    #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" :)

  7. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    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 :).

  8. balwinder singh
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags