WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the Easy FancyBox WP-Plugin works fine for me.

Just the script will be placed in the header of my source, like other plugin, too. I´d like to push it down to the footer of my website (incl. the inline-script) below jquery-library.

Can i fixed it?

Thanks Ingo

share|improve this question
up vote 0 down vote accepted

You can ask the plugin author to update the plugin so scripts go in the footer rather than the header.

Or you can look in the plugin code and see this:

wp_enqueue_script('jquery.fancybox', plugins_url(FANCYBOX_SUBDIR.'/fancybox/jquery.fancybox-'.FANCYBOX_VERSION.'.pack.js', __FILE__), array('jquery'), FANCYBOX_VERSION);

What you can do is edit this yourself so that it enqueues in the footer or you can write a function in your theme functions file that un-queues it and then re-queues it correctly.

share|improve this answer
Ok, thanks a lot. – ogni Feb 3 '12 at 12:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.