Sunday, 2 February 2014

Where is the right place to register/enqueue scripts & styles

I am using WordPress 3.1.4 by now. I am confused with where (which hook) do I use:
  • to register and/or enqueue
  • scripts and styles
  • on front- and back-ends?
Questions:
  • Which are right hooks to use?
  • All front end register/enqueue scripts/styles in init?
  • Why is there no admin_print_styles-{xxx}?

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More