I was wondering if there is any recommended way of adding a Jquery plugin to Drupal 7 or it should be done by adding code to the main template file?
2 Answers
http://drupal.org/node/1043478#comment-4018128 explains how you can add it to your themes .info file.
If the plugin is only being used on certain pages of the site and not throughout, you might want to consider adding it only to those pages that need it via drupal_add_js for optimal performance.