Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Ah yes, I spotted that. Presumably, it can take null as an argument? Commented Aug 1, 2011 at 11:40
  • It may have been all that was wrong. I now have: wp_register_script('validate', 'http://ajax.microsoft.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js', array('jquery'), null, true); wp_enqueue_script('commonfunctions', child_template_directory . '/script/commonfunctions.js', array('jquery-ui-draggable', 'validate'), '1.0', true); and that works as long as I place it in the footer, not the header Commented Aug 1, 2011 at 11:41