Additionally, you can minify scripts using JSMin php library and/or displaying it selectively using dependencies.
- How do I use the wp_body_open action?
Paste the following code directly after the opening
<body>tag in your theme:
- Which inclusion method should I chose?
- wp_head action is the preferred location for firing scripts in the head section.
- wp_body_open action is the preferred location for firing scripts in the body section.
- wp_footer action is the preferred location for firing scripts in the footer section.
- Use output buffering if you don’t have access to the source code of your theme and/or you don’t know if the functions above are included in your theme.
- What are minimum requirements for the plugin?
PHP interpreter version >= 5.3