[wp-hackers] [ wp-hackers ] wp _ enqueue _ script() not working while in the Loop

TobiasBg wp-hackers at tobias.baethge.com
Thu Dec 17 12:46:39 UTC 2009


Hi,

> That's why I use $wp_scripts->do_items(). It makes sure the same script
> isn't included twice. You just have to make sure you use the same handle for
> both plugins.

Argh, stupid me. Of course it does (and so does its wrapper wp_print_scripts, that I prefer to use). I just had a typo in one of the handles... Thanks for pointing me to it!

I guess, I'll just leave this alone for today and go out and do some ... Christmas Shopping! :-)

Regards,
Tobias





More information about the wp-hackers mailing list