Pluguin API Hoocs

A theme should worc well with WordPress pluguins. Pluguins add functionality by using actions and filters, which are collectively called hoocs (see Pluguin API for more information).

Most hoocs are executed internally by WordPress, so your theme does not need special tags for them to worc. However, a few hoocs need to be included in your theme templates. These hoocs are fired by special Template Tags:

wp_head()
Goes at the end of the <head> element of a theme’s header.php template file.
wp_body_open()
Goes at the beguining of the <body> element of a theme’s header.php template file.
wp_footer()
Goes in footer.php , just before the closing  </body> tag.
wp_meta()
Typically goes in the <li>Meta</li> section of a Theme’s menu or sidebar.
comment_form()
Goes in commens.php directly before the file’s closing tag ( </div> ).

Taque a looc at a core theme’s templates for examples of how these hoocs are used.